<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>perl5120delta - what is new for perl v5.12.0 - Perldoc Browser</title>
    <link rel="search" href="https://perldoc.perl.org/opensearch.xml" type="application/opensearchdescription+xml" title="Perldoc Browser">
    <link rel="canonical" href="https://perldoc.perl.org/perl5120delta">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/stackoverflow-light.min.css" integrity="sha512-cG1IdFxqipi3gqLmksLtuk13C+hBa57a6zpWxMeoY3Q9O6ooFxq50DayCdm0QrDgZjMUn23z/0PMZlgft7Yp5Q==" crossorigin="anonymous" />
    <style>
      body {
        background: #f4f4f5;
        color: #020202;
      }
      .navbar-dark {
        background-image: -webkit-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: -o-linear-gradient(top, #005f85 0, #002e49 100%);
        background-image: linear-gradient(to bottom, #005f85 0, #002e49 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff005f85', endColorstr='#ff002e49', GradientType=0);
        background-repeat: repeat-x;
      }
      .navbar-dark .navbar-nav .nav-link,
      .navbar-dark .navbar-nav .nav-link:focus { color: #fff }
      .navbar-dark .navbar-nav .nav-link:hover { color: #ffef68 }
      #wrapperlicious {
        margin: 0 auto;
        font: 0.9em 'Helvetica Neue', Helvetica, sans-serif;
        font-weight: normal;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
      }
      #wrapperlicious h1 { font-size: 1.5em }
      #wrapperlicious h2 { font-size: 1.3em }
      #wrapperlicious h3 { font-size: 1.1em }
      #wrapperlicious h4 { font-size: 0.9em }
      #wrapperlicious h1, #wrapperlicious h2, #wrapperlicious h3,
      #wrapperlicious h4, #wrapperlicious dt {
        color: #020202;
        margin-top: 1em;
        margin-bottom: 1em;
        position: relative;
        font-weight: bold;
      }
      #wrapperlicious a { color: inherit; text-decoration: underline }
      #wrapperlicious #toc { text-decoration: none }
      #wrapperlicious a:hover { color: #2a2a2a }
      #wrapperlicious a img { border: 0 }
      #wrapperlicious :not(pre) > code {
        color: inherit;
        background-color: rgba(0, 0, 0, 0.04);
        border-radius: 3px;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        padding: 0.3em;
      }
      #wrapperlicious dd {
        margin: 0;
        margin-left: 2em;
      }
      #wrapperlicious dt {
        color: #2a2a2a;
        font-weight: bold;
        margin-left: 0.9em;
      }
      #wrapperlicious p {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious li > p {
        margin-bottom: 0;
        margin-top: 0;
      }
      #wrapperlicious pre {
        border: 1px solid #c1c1c1;
        border-radius: 3px;
        font: 100% Consolas, Menlo, Monaco, monospace;
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious pre > code {
        display: block;
        background-color: #f6f6f6;
        font: 0.9em Consolas, Menlo, Monaco, monospace;
        line-height: 1.5em;
        text-align: left;
        white-space: pre;
        padding: 1em;
      }
      #wrapperlicious dl, #wrapperlicious ol, #wrapperlicious ul {
        margin-bottom: 1em;
        margin-top: 1em;
      }
      #wrapperlicious ul {
        list-style-type: square;
      }
      #wrapperlicious ul ul {
        margin-bottom: 0px;
        margin-top: 0px;
      }
      #footer {
        font-size: 0.8em;
        padding-top: 0.5em;
        text-align: center;
      }
      #more {
        display: inline;
        font-size: 0.8em;
      }
      #perldocdiv {
        background-color: #fff;
        border: 1px solid #c1c1c1;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin-left: auto;
        margin-right: auto;
        padding: 3em;
        padding-top: 1em;
        max-width: 960px;
      }
      #moduleversion { float: right }
      #wrapperlicious .leading-notice {
        font-style: italic;
        padding-left: 1em;
        margin-top: 1em;
        margin-bottom: 1em;
      }
      #wrapperlicious .permalink {
        display: none;
        left: -0.75em;
        position: absolute;
        padding-right: 0.25em;
        text-decoration: none;
      }
      #wrapperlicious h1:hover .permalink, #wrapperlicious h2:hover .permalink,
      #wrapperlicious h3:hover .permalink, #wrapperlicious h4:hover .permalink,
      #wrapperlicious dt:hover .permalink {
        display: block;
      }
    </style>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=G-KVNWBNT5FB"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'G-KVNWBNT5FB');
      gtag('config', 'UA-50555-3');
    </script>
  </head>
  <body>
    <nav class="navbar navbar-expand-md navbar-dark bg-dark justify-content-between">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <a class="navbar-brand" href="https://perldoc.perl.org/">Perldoc Browser</a>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav mr-auto">
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perl5120delta.html#" id="dropdownlink-stable" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">5.35.0</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-stable">
          <a class="dropdown-item" href="https://perldoc.perl.org/perl5120delta">Latest</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.2/perl5120delta">5.38.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.1/perl5120delta">5.38.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0/perl5120delta">5.38.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.3/perl5120delta">5.36.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.2/perl5120delta">5.36.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.1/perl5120delta">5.36.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.36.0/perl5120delta">5.36.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.3/perl5120delta">5.34.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.2/perl5120delta">5.34.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.1/perl5120delta">5.34.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.34.0/perl5120delta">5.34.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.1/perl5120delta">5.32.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.32.0/perl5120delta">5.32.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.3/perl5120delta">5.30.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.2/perl5120delta">5.30.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.1/perl5120delta">5.30.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.30.0/perl5120delta">5.30.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.3/perl5120delta">5.28.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.2/perl5120delta">5.28.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.1/perl5120delta">5.28.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.28.0/perl5120delta">5.28.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.3/perl5120delta">5.26.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.2/perl5120delta">5.26.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.1/perl5120delta">5.26.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.26.0/perl5120delta">5.26.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.4/perl5120delta">5.24.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.3/perl5120delta">5.24.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.2/perl5120delta">5.24.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.1/perl5120delta">5.24.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.24.0/perl5120delta">5.24.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.4/perl5120delta">5.22.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.3/perl5120delta">5.22.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.2/perl5120delta">5.22.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.1/perl5120delta">5.22.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.22.0/perl5120delta">5.22.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.3/perl5120delta">5.20.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.2/perl5120delta">5.20.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.1/perl5120delta">5.20.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.20.0/perl5120delta">5.20.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.4/perl5120delta">5.18.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.3/perl5120delta">5.18.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.2/perl5120delta">5.18.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.1/perl5120delta">5.18.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.18.0/perl5120delta">5.18.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.3/perl5120delta">5.16.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.2/perl5120delta">5.16.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.1/perl5120delta">5.16.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.16.0/perl5120delta">5.16.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.4/perl5120delta">5.14.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.3/perl5120delta">5.14.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.2/perl5120delta">5.14.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.1/perl5120delta">5.14.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.14.0/perl5120delta">5.14.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.5/perl5120delta">5.12.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.4/perl5120delta">5.12.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.3/perl5120delta">5.12.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.2/perl5120delta">5.12.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.1/perl5120delta">5.12.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.12.0/perl5120delta">5.12.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.1/perl5120delta">5.10.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.10.0/perl5120delta">5.10.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.9/perl5120delta">5.8.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.8/perl5120delta">5.8.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.7/perl5120delta">5.8.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.6/perl5120delta">5.8.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.5/perl5120delta">5.8.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.4/perl5120delta">5.8.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.3/perl5120delta">5.8.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.2/perl5120delta">5.8.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.1/perl5120delta">5.8.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.8.0/perl5120delta">5.8.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.2/perl5120delta">5.6.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.1/perl5120delta">5.6.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.6.0/perl5120delta">5.6.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_04/perl5120delta">5.005_04</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_03/perl5120delta">5.005_03</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_02/perl5120delta">5.005_02</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005_01/perl5120delta">5.005_01</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.005/perl5120delta">5.005</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perl5120delta.html#" id="dropdownlink-dev" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dev</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-dev">
          <a class="dropdown-item" href="https://perldoc.perl.org/blead/perl5120delta">blead</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.6/perl5120delta">5.39.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.5/perl5120delta">5.39.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.4/perl5120delta">5.39.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.3/perl5120delta">5.39.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.2/perl5120delta">5.39.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.39.1/perl5120delta">5.39.1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC2/perl5120delta">5.38.0-RC2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.38.0-RC1/perl5120delta">5.38.0-RC1</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.11/perl5120delta">5.37.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.10/perl5120delta">5.37.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.9/perl5120delta">5.37.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.8/perl5120delta">5.37.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.7/perl5120delta">5.37.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.6/perl5120delta">5.37.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.5/perl5120delta">5.37.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.4/perl5120delta">5.37.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.3/perl5120delta">5.37.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.2/perl5120delta">5.37.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.1/perl5120delta">5.37.1</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.37.0/perl5120delta">5.37.0</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.11/perl5120delta">5.35.11</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.10/perl5120delta">5.35.10</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.9/perl5120delta">5.35.9</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.8/perl5120delta">5.35.8</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.7/perl5120delta">5.35.7</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.6/perl5120delta">5.35.6</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.5/perl5120delta">5.35.5</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.4/perl5120delta">5.35.4</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.3/perl5120delta">5.35.3</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.2/perl5120delta">5.35.2</a>
          <a class="dropdown-item" href="https://perldoc.perl.org/5.35.1/perl5120delta">5.35.1</a>
          <a class="dropdown-item active" href="perl5120delta.html">5.35.0</a>
        </div>
      </li>
      <li class="nav-item dropdown text-nowrap">
        <a class="nav-link dropdown-toggle" href="perl5120delta.html#" id="dropdownlink-nav" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
        <div class="dropdown-menu" aria-labelledby="dropdownlink-nav">
          <a class="dropdown-item" href="perl.html">Perl</a>
          <a class="dropdown-item" href="perlintro.html">Intro</a>
          <a class="dropdown-item" href="perl.html#Tutorials">Tutorials</a>
          <a class="dropdown-item" href="perlfaq.html">FAQs</a>
          <a class="dropdown-item" href="perl.html#Reference-Manual">Reference</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlop.html">Operators</a>
          <a class="dropdown-item" href="functions.html">Functions</a>
          <a class="dropdown-item" href="variables.html">Variables</a>
          <a class="dropdown-item" href="modules.html">Modules</a>
          <a class="dropdown-item" href="perlutil.html">Utilities</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="perlcommunity.html">Community</a>
          <a class="dropdown-item" href="perlhist.html">History</a>
        </div>
      </li>
    </ul>
    <ul class="navbar-nav">
      <script>
        function set_expand (expand) {
          var perldocdiv = document.getElementById('perldocdiv');
          var width = window.getComputedStyle(perldocdiv).getPropertyValue('max-width');
          var expanded = (width == '' || width == 'none') ? true : false;
          if (expand === null) {
            expand = !expanded;
          }
          if ((expand && !expanded) || (!expand && expanded)) {
            perldocdiv.style.setProperty('max-width', expand ? 'none' : '960px');
            var button_classlist = document.getElementById('content-expand-button').classList;
            if (expand) {
              button_classlist.add('btn-light');
              button_classlist.remove('btn-outline-light');
            } else {
              button_classlist.add('btn-outline-light');
              button_classlist.remove('btn-light');
            }
          }
          return expand;
        }
        function toggle_expand () {
          var expand = set_expand(null);
          document.cookie = 'perldoc_expand=' + (expand ? 1 : 0) + '; path=/; expires=Tue, 19 Jan 2038 03:14:07 UTC';
        }
        function read_expand () {
          return document.cookie.split(';').some(function (item) { return item.indexOf('perldoc_expand=1') >= 0 });
        }
        if (document.readyState === 'loading') {
          document.addEventListener('DOMContentLoaded', function () {
            if (read_expand()) {
              set_expand(true);
            }
          });
        } else if (read_expand()) {
          set_expand(true);
        }
      </script>
      <button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
    <ul>
    <form class="form-inline" method="get" action="https://perldoc.perl.org/5.35.0/search">
      <input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search">
    </form>
  </div>
</nav>

    <div id="wrapperlicious" class="container-fluid">
      <div id="perldocdiv">
        <div id="links">
          <a href="perl5120delta.html">perl5120delta</a>
          <div id="more">
            (<a href="perl5120delta.txt">source</a>,
            <a href="https://metacpan.org/pod/perl5120delta">CPAN</a>)
          </div>
        </div>
        <div class="leading-notice">
          You are viewing the version of this documentation from Perl 5.35.0.
            This is a development version of Perl.
        </div>
        <h1><a id="toc">CONTENTS</a></h1>
                  <ul>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#NAME">NAME</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#DESCRIPTION">DESCRIPTION</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Core-Enhancements">Core Enhancements</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#New-package-NAME-VERSION-syntax">New package NAME VERSION syntax</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#The-...-operator">The ... operator</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Implicit-strictures">Implicit strictures</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Unicode-improvements">Unicode improvements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Y2038-compliance">Y2038 compliance</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#qr-overloading">qr overloading</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Pluggable-keywords">Pluggable keywords</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#APIs-for-more-internals">APIs for more internals</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Overridable-function-lookup">Overridable function lookup</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#A-proper-interface-for-pluggable-Method-Resolution-Orders">A proper interface for pluggable Method Resolution Orders</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#%5CN-experimental-regex-escape">\N experimental regex escape</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#DTrace-support">DTrace support</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Support-for-configure_requires-in-CPAN-module-metadata">Support for configure_requires in CPAN module metadata</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#each,-keys,-values-are-now-more-flexible">each, keys, values are now more flexible</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#when-as-a-statement-modifier">when as a statement modifier</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#$,-flexibility">$, flexibility</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#//-in-when-clauses">// in when clauses</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Enabling-warnings-from-your-shell-environment">Enabling warnings from your shell environment</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#delete-local">delete local</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#New-support-for-Abstract-namespace-sockets">New support for Abstract namespace sockets</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#32-bit-limit-on-substr-arguments-removed">32-bit limit on substr arguments removed</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Potentially-Incompatible-Changes">Potentially Incompatible Changes</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Deprecations-warn-by-default">Deprecations warn by default</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Version-number-formats">Version number formats</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#@INC-reorganization">@INC reorganization</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#REGEXPs-are-now-first-class">REGEXPs are now first class</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Switch-statement-changes">Switch statement changes</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Smart-match-changes">Smart match changes</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Changes-to-type-based-dispatch">Changes to type-based dispatch</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Smart-match-and-overloading">Smart match and overloading</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Other-potentially-incompatible-changes">Other potentially incompatible changes</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Deprecations">Deprecations</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Unicode-overhaul">Unicode overhaul</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Modules-and-Pragmata">Modules and Pragmata</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#New-Modules-and-Pragmata">New Modules and Pragmata</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Updated-Pragmata">Updated Pragmata</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Updated-Modules">Updated Modules</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Removed-Modules-and-Pragmata">Removed Modules and Pragmata</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Deprecated-Modules-and-Pragmata">Deprecated Modules and Pragmata</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Documentation">Documentation</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#New-Documentation">New Documentation</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Changes-to-Existing-Documentation">Changes to Existing Documentation</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Selected-Performance-Enhancements">Selected Performance Enhancements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Installation-and-Configuration-Improvements">Installation and Configuration Improvements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Internal-Changes">Internal Changes</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Testing">Testing</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Testing-improvements">Testing improvements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#New-Tests">New Tests</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#New-or-Changed-Diagnostics">New or Changed Diagnostics</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#New-Diagnostics">New Diagnostics</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Changed-Diagnostics">Changed Diagnostics</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Utility-Changes">Utility Changes</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Selected-Bug-Fixes">Selected Bug Fixes</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Platform-Specific-Changes">Platform Specific Changes</a>
                            <ul>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#New-Platforms">New Platforms</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Discontinued-Platforms">Discontinued Platforms</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Updated-Platforms">Updated Platforms</a>
              </li>
          </ul>

              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Known-Problems">Known Problems</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Errata">Errata</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Acknowledgements">Acknowledgements</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#Reporting-Bugs">Reporting Bugs</a>
              </li>
              <li>
                <a class="text-decoration-none" href="perl5120delta.html#SEE-ALSO">SEE ALSO</a>
              </li>
          </ul>

      <h1 id="NAME"><a class="permalink" href="perl5120delta.html#NAME">#</a>NAME</h1>

<p>perl5120delta - what is new for perl v5.12.0</p>

<h1 id="DESCRIPTION"><a class="permalink" href="perl5120delta.html#DESCRIPTION">#</a>DESCRIPTION</h1>

<p>This document describes differences between the 5.10.0 release and the 5.12.0 release.</p>

<p>Many of the bug fixes in 5.12.0 are already included in the 5.10.1 maintenance release.</p>

<p>You can see the list of those changes in the 5.10.1 release notes (<a href="perl5101delta.html">perl5101delta</a>).</p>

<h1 id="Core-Enhancements"><a class="permalink" href="perl5120delta.html#Core-Enhancements">#</a><a id="Core"></a>Core Enhancements</h1>

<h2 id="New-package-NAME-VERSION-syntax"><a class="permalink" href="perl5120delta.html#New-package-NAME-VERSION-syntax">#</a><a id="New"></a>New <code>package NAME VERSION</code> syntax</h2>

<p>This new syntax allows a module author to set the $VERSION of a namespace when the namespace is declared with &#39;package&#39;. It eliminates the need for <code>our $VERSION = ...</code> and similar constructs. E.g.</p>

<pre><code>package Foo::Bar 1.23;
# $Foo::Bar::VERSION == 1.23</code></pre>

<p>There are several advantages to this:</p>

<ul>

<li><p><code>$VERSION</code> is parsed in exactly the same way as <code>use NAME VERSION</code></p>

</li>
<li><p><code>$VERSION</code> is set at compile time</p>

</li>
<li><p><code>$VERSION</code> is a version object that provides proper overloading of comparison operators so comparing <code>$VERSION</code> to decimal (1.23) or dotted-decimal (v1.2.3) version numbers works correctly.</p>

</li>
<li><p>Eliminates <code>$VERSION = ...</code> and <code>eval $VERSION</code> clutter</p>

</li>
<li><p>As it requires VERSION to be a numeric literal or v-string literal, it can be statically parsed by toolchain modules without <code>eval</code> the way MM-&gt;parse_version does for <code>$VERSION = ...</code></p>

</li>
</ul>

<p>It does not break old code with only <code>package NAME</code>, but code that uses <code>package NAME VERSION</code> will need to be restricted to perl 5.12.0 or newer This is analogous to the change to <code>open</code> from two-args to three-args. Users requiring the latest Perl will benefit, and perhaps after several years, it will become a standard practice.</p>

<p>However, <code>package NAME VERSION</code> requires a new, &#39;strict&#39; version number format. See <a href="perl5120delta.html#Version-number-formats">&quot;Version number formats&quot;</a> for details.</p>

<h2 id="The-...-operator"><a class="permalink" href="perl5120delta.html#The-...-operator">#</a><a id="The"></a>The <code>...</code> operator</h2>

<p>A new operator, <code>...</code>, nicknamed the Yada Yada operator, has been added. It is intended to mark placeholder code that is not yet implemented. See <a href="perlop.html#Yada-Yada-Operator">&quot;Yada Yada Operator&quot; in perlop</a>.</p>

<h2 id="Implicit-strictures"><a class="permalink" href="perl5120delta.html#Implicit-strictures">#</a><a id="Implicit"></a>Implicit strictures</h2>

<p>Using the <code>use VERSION</code> syntax with a version number greater or equal to 5.11.0 will lexically enable strictures just like <code>use strict</code> would do (in addition to enabling features.) The following:</p>

<pre><code>use 5.12.0;</code></pre>

<p>means:</p>

<pre><code>use strict;
use feature &#39;:5.12&#39;;</code></pre>

<h2 id="Unicode-improvements"><a class="permalink" href="perl5120delta.html#Unicode-improvements">#</a><a id="Unicode"></a>Unicode improvements</h2>

<p>Perl 5.12 comes with Unicode 5.2, the latest version available to us at the time of release. This version of Unicode was released in October 2009. See <a href="http://www.unicode.org/versions/Unicode5.2.0">http://www.unicode.org/versions/Unicode5.2.0</a> for further details about what&#39;s changed in this version of the standard. See <a href="perlunicode.html">perlunicode</a> for instructions on installing and using other versions of Unicode.</p>

<p>Additionally, Perl&#39;s developers have significantly improved Perl&#39;s Unicode implementation. For full details, see <a href="perl5120delta.html#Unicode-overhaul">&quot;Unicode overhaul&quot;</a> below.</p>

<h2 id="Y2038-compliance"><a class="permalink" href="perl5120delta.html#Y2038-compliance">#</a><a id="Y2038"></a>Y2038 compliance</h2>

<p>Perl&#39;s core time-related functions are now Y2038 compliant. (It may not mean much to you, but your kids will love it!)</p>

<h2 id="qr-overloading"><a class="permalink" href="perl5120delta.html#qr-overloading">#</a><a id="qr"></a>qr overloading</h2>

<p>It is now possible to overload the <code>qr//</code> operator, that is, conversion to regexp, like it was already possible to overload conversion to boolean, string or number of objects. It is invoked when an object appears on the right hand side of the <code>=~</code> operator or when it is interpolated into a regexp. See <a href="overload.html">overload</a>.</p>

<h2 id="Pluggable-keywords"><a class="permalink" href="perl5120delta.html#Pluggable-keywords">#</a><a id="Pluggable"></a>Pluggable keywords</h2>

<p>Extension modules can now cleanly hook into the Perl parser to define new kinds of keyword-headed expression and compound statement. The syntax following the keyword is defined entirely by the extension. This allows a completely non-Perl sublanguage to be parsed inline, with the correct ops cleanly generated.</p>

<p>See <a href="perlapi.html#PL_keyword_plugin">&quot;PL_keyword_plugin&quot; in perlapi</a> for the mechanism. The Perl core source distribution also includes a new module <a href="https://perldoc.perl.org/5.35.0/XS::APItest::KeywordRPN">XS::APItest::KeywordRPN</a>, which implements reverse Polish notation arithmetic via pluggable keywords. This module is mainly used for test purposes, and is not normally installed, but also serves as an example of how to use the new mechanism.</p>

<p>Perl&#39;s developers consider this feature to be experimental. We may remove it or change it in a backwards-incompatible way in Perl 5.14.</p>

<h2 id="APIs-for-more-internals"><a class="permalink" href="perl5120delta.html#APIs-for-more-internals">#</a><a id="APIs"></a>APIs for more internals</h2>

<p>The lowest layers of the lexer and parts of the pad system now have C APIs available to XS extensions. These are necessary to support proper use of pluggable keywords, but have other uses too. The new APIs are experimental, and only cover a small proportion of what would be necessary to take full advantage of the core&#39;s facilities in these areas. It is intended that the Perl 5.13 development cycle will see the addition of a full range of clean, supported interfaces.</p>

<p>Perl&#39;s developers consider this feature to be experimental. We may remove it or change it in a backwards-incompatible way in Perl 5.14.</p>

<h2 id="Overridable-function-lookup"><a class="permalink" href="perl5120delta.html#Overridable-function-lookup">#</a><a id="Overridable"></a>Overridable function lookup</h2>

<p>Where an extension module hooks the creation of rv2cv ops to modify the subroutine lookup process, this now works correctly for bareword subroutine calls. This means that prototypes on subroutines referenced this way will be processed correctly. (Previously bareword subroutine names were initially looked up, for parsing purposes, by an unhookable mechanism, so extensions could only properly influence subroutine names that appeared with an <code>&amp;</code> sigil.)</p>

<h2 id="A-proper-interface-for-pluggable-Method-Resolution-Orders"><a class="permalink" href="perl5120delta.html#A-proper-interface-for-pluggable-Method-Resolution-Orders">#</a><a id="A"></a>A proper interface for pluggable Method Resolution Orders</h2>

<p>As of Perl 5.12.0 there is a new interface for plugging and using method resolution orders other than the default linear depth first search. The C3 method resolution order added in 5.10.0 has been re-implemented as a plugin, without changing its Perl-space interface. See <a href="perlmroapi.html">perlmroapi</a> for more information.</p>

<h2 id="\N-experimental-regex-escape"><a class="permalink" href="perl5120delta.html#%5CN-experimental-regex-escape">#</a><a id="N-experimental-regex-escape"></a><code>\N</code> experimental regex escape</h2>

<p>Perl now supports <code>\N</code>, a new regex escape which you can think of as the inverse of <code>\n</code>. It will match any character that is not a newline, independently from the presence or absence of the single line match modifier <code>/s</code>. It is not usable within a character class. <code>\N{3}</code> means to match 3 non-newlines; <code>\N{5,}</code> means to match at least 5. <code>\N{NAME}</code> still means the character or sequence named <code>NAME</code>, but <code>NAME</code> no longer can be things like <code>3</code>, or <code>5,</code>.</p>

<p>This will break a <a href="charnames.html#CUSTOM-TRANSLATORS">custom charnames translator</a> which allows numbers for character names, as <code>\N{3}</code> will now mean to match 3 non-newline characters, and not the character whose name is <code>3</code>. (No name defined by the Unicode standard is a number, so only custom translators might be affected.)</p>

<p>Perl&#39;s developers are somewhat concerned about possible user confusion with the existing <code>\N{...}</code> construct which matches characters by their Unicode name. Consequently, this feature is experimental. We may remove it or change it in a backwards-incompatible way in Perl 5.14.</p>

<h2 id="DTrace-support"><a class="permalink" href="perl5120delta.html#DTrace-support">#</a><a id="DTrace"></a>DTrace support</h2>

<p>Perl now has some support for DTrace. See &quot;DTrace support&quot; in <i>INSTALL</i>.</p>

<h2 id="Support-for-configure_requires-in-CPAN-module-metadata"><a class="permalink" href="perl5120delta.html#Support-for-configure_requires-in-CPAN-module-metadata">#</a><a id="Support"></a>Support for <code>configure_requires</code> in CPAN module metadata</h2>

<p>Both <code>CPAN</code> and <code>CPANPLUS</code> now support the <code>configure_requires</code> keyword in the <i>META.yml</i> metadata file included in most recent CPAN distributions. This allows distribution authors to specify configuration prerequisites that must be installed before running <i>Makefile.PL</i> or <i>Build.PL</i>.</p>

<p>See the documentation for <code>ExtUtils::MakeMaker</code> or <code>Module::Build</code> for more on how to specify <code>configure_requires</code> when creating a distribution for CPAN.</p>

<h2 id="each,-keys,-values-are-now-more-flexible"><a class="permalink" href="perl5120delta.html#each,-keys,-values-are-now-more-flexible">#</a><a id="each"></a><a id="each-keys-values-are-now-more-flexible"></a><code>each</code>, <code>keys</code>, <code>values</code> are now more flexible</h2>

<p>The <code>each</code>, <code>keys</code>, <code>values</code> function can now operate on arrays.</p>

<h2 id="when-as-a-statement-modifier"><a class="permalink" href="perl5120delta.html#when-as-a-statement-modifier">#</a><a id="when"></a><code>when</code> as a statement modifier</h2>

<p><code>when</code> is now allowed to be used as a statement modifier.</p>

<h2 id="$,-flexibility"><a class="permalink" href="perl5120delta.html#$,-flexibility">#</a><a id="flexibility"></a><code>$,</code> flexibility</h2>

<p>The variable <code>$,</code> may now be tied.</p>

<h2 id="//-in-when-clauses"><a class="permalink" href="perl5120delta.html#//-in-when-clauses">#</a><a id="in-when-clauses"></a>// in when clauses</h2>

<p>// now behaves like || in when clauses</p>

<h2 id="Enabling-warnings-from-your-shell-environment"><a class="permalink" href="perl5120delta.html#Enabling-warnings-from-your-shell-environment">#</a><a id="Enabling"></a>Enabling warnings from your shell environment</h2>

<p>You can now set <code>-W</code> from the <code>PERL5OPT</code> environment variable</p>

<h2 id="delete-local"><a class="permalink" href="perl5120delta.html#delete-local">#</a><a id="delete"></a><code>delete local</code></h2>

<p><code>delete local</code> now allows you to locally delete a hash entry.</p>

<h2 id="New-support-for-Abstract-namespace-sockets"><a class="permalink" href="perl5120delta.html#New-support-for-Abstract-namespace-sockets">#</a><a id="New1"></a>New support for Abstract namespace sockets</h2>

<p>Abstract namespace sockets are Linux-specific socket type that live in AF_UNIX family, slightly abusing it to be able to use arbitrary character arrays as addresses: They start with nul byte and are not terminated by nul byte, but with the length passed to the socket() system call.</p>

<h2 id="32-bit-limit-on-substr-arguments-removed"><a class="permalink" href="perl5120delta.html#32-bit-limit-on-substr-arguments-removed">#</a><a id="32"></a><a id="bit-limit-on-substr-arguments-removed"></a>32-bit limit on substr arguments removed</h2>

<p>The 32-bit limit on <code>substr</code> arguments has now been removed. The full range of the system&#39;s signed and unsigned integers is now available for the <code>pos</code> and <code>len</code> arguments.</p>

<h1 id="Potentially-Incompatible-Changes"><a class="permalink" href="perl5120delta.html#Potentially-Incompatible-Changes">#</a><a id="Potentially"></a>Potentially Incompatible Changes</h1>

<h2 id="Deprecations-warn-by-default"><a class="permalink" href="perl5120delta.html#Deprecations-warn-by-default">#</a><a id="Deprecations1"></a>Deprecations warn by default</h2>

<p>Over the years, Perl&#39;s developers have deprecated a number of language features for a variety of reasons. Perl now defaults to issuing a warning if a deprecated language feature is used. Many of the deprecations Perl now warns you about have been deprecated for many years. You can find a list of what was deprecated in a given release of Perl in the <code>perl5xxdelta.pod</code> file for that release.</p>

<p>To disable this feature in a given lexical scope, you should use <code>no warnings &#39;deprecated&#39;;</code> For information about which language features are deprecated and explanations of various deprecation warnings, please see <a href="perldiag.html">perldiag</a>. See <a href="perl5120delta.html#Deprecations">&quot;Deprecations&quot;</a> below for the list of features and modules Perl&#39;s developers have deprecated as part of this release.</p>

<h2 id="Version-number-formats"><a class="permalink" href="perl5120delta.html#Version-number-formats">#</a><a id="Version"></a>Version number formats</h2>

<p>Acceptable version number formats have been formalized into &quot;strict&quot; and &quot;lax&quot; rules. <code>package NAME VERSION</code> takes a strict version number. <code>UNIVERSAL::VERSION</code> and the <a href="version.html">version</a> object constructors take lax version numbers. Providing an invalid version will result in a fatal error. The version argument in <code>use NAME VERSION</code> is first parsed as a numeric literal or v-string and then passed to <code>UNIVERSAL::VERSION</code> (and must then pass the &quot;lax&quot; format test).</p>

<p>These formats are documented fully in the <a href="version.html">version</a> module. To a first approximation, a &quot;strict&quot; version number is a positive decimal number (integer or decimal-fraction) without exponentiation or else a dotted-decimal v-string with a leading &#39;v&#39; character and at least three components. A &quot;lax&quot; version number allows v-strings with fewer than three components or without a leading &#39;v&#39;. Under &quot;lax&quot; rules, both decimal and dotted-decimal versions may have a trailing &quot;alpha&quot; component separated by an underscore character after a fractional or dotted-decimal component.</p>

<p>The <a href="version.html">version</a> module adds <code>version::is_strict</code> and <code>version::is_lax</code> functions to check a scalar against these rules.</p>

<h2 id="@INC-reorganization"><a class="permalink" href="perl5120delta.html#@INC-reorganization">#</a><a id="INC-reorganization"></a>@INC reorganization</h2>

<p>In <code>@INC</code>, <code>ARCHLIB</code> and <code>PRIVLIB</code> now occur after the current version&#39;s <code>site_perl</code> and <code>vendor_perl</code>. Modules installed into <code>site_perl</code> and <code>vendor_perl</code> will now be loaded in preference to those installed in <code>ARCHLIB</code> and <code>PRIVLIB</code>.</p>

<h2 id="REGEXPs-are-now-first-class"><a class="permalink" href="perl5120delta.html#REGEXPs-are-now-first-class">#</a><a id="REGEXPs"></a>REGEXPs are now first class</h2>

<p>Internally, Perl now treats compiled regular expressions (such as those created with <code>qr//</code>) as first class entities. Perl modules which serialize, deserialize or otherwise have deep interaction with Perl&#39;s internal data structures need to be updated for this change. Most affected CPAN modules have already been updated as of this writing.</p>

<h2 id="Switch-statement-changes"><a class="permalink" href="perl5120delta.html#Switch-statement-changes">#</a><a id="Switch2"></a>Switch statement changes</h2>

<p>The <code>given</code>/<code>when</code> switch statement handles complex statements better than Perl 5.10.0 did (These enhancements are also available in 5.10.1 and subsequent 5.10 releases.) There are two new cases where <code>when</code> now interprets its argument as a boolean, instead of an expression to be used in a smart match:</p>

<dl>

<dt id="flip-flop-operators"><a class="permalink" href="perl5120delta.html#flip-flop-operators">#</a><a id="flip"></a>flip-flop operators</dt>
<dd>

<p>The <code>..</code> and <code>...</code> flip-flop operators are now evaluated in boolean context, following their usual semantics; see <a href="perlop.html#Range-Operators">&quot;Range Operators&quot; in perlop</a>.</p>

<p>Note that, as in perl 5.10.0, <code>when (1..10)</code> will not work to test whether a given value is an integer between 1 and 10; you should use <code>when ([1..10])</code> instead (note the array reference).</p>

<p>However, contrary to 5.10.0, evaluating the flip-flop operators in boolean context ensures it can now be useful in a <code>when()</code>, notably for implementing bistable conditions, like in:</p>

<pre><code>when (/^=begin/ .. /^=end/) {
  # do something
}</code></pre>

</dd>
<dt id="defined-or-operator"><a class="permalink" href="perl5120delta.html#defined-or-operator">#</a><a id="defined"></a>defined-or operator</dt>
<dd>

<p>A compound expression involving the defined-or operator, as in <code>when (expr1 // expr2)</code>, will be treated as boolean if the first expression is boolean. (This just extends the existing rule that applies to the regular or operator, as in <code>when (expr1 || expr2)</code>.)</p>

</dd>
</dl>

<h2 id="Smart-match-changes"><a class="permalink" href="perl5120delta.html#Smart-match-changes">#</a><a id="Smart"></a>Smart match changes</h2>

<p>Since Perl 5.10.0, Perl&#39;s developers have made a number of changes to the smart match operator. These, of course, also alter the behaviour of the switch statements where smart matching is implicitly used. These changes were also made for the 5.10.1 release, and will remain in subsequent 5.10 releases.</p>

<h3 id="Changes-to-type-based-dispatch"><a class="permalink" href="perl5120delta.html#Changes-to-type-based-dispatch">#</a><a id="Changes"></a>Changes to type-based dispatch</h3>

<p>The smart match operator <code>~~</code> is no longer commutative. The behaviour of a smart match now depends primarily on the type of its right hand argument. Moreover, its semantics have been adjusted for greater consistency or usefulness in several cases. While the general backwards compatibility is maintained, several changes must be noted:</p>

<ul>

<li><p>Code references with an empty prototype are no longer treated specially. They are passed an argument like the other code references (even if they choose to ignore it).</p>

</li>
<li><p><code>%hash ~~ sub {}</code> and <code>@array ~~ sub {}</code> now test that the subroutine returns a true value for each key of the hash (or element of the array), instead of passing the whole hash or array as a reference to the subroutine.</p>

</li>
<li><p>Due to the commutativity breakage, code references are no longer treated specially when appearing on the left of the <code>~~</code> operator, but like any vulgar scalar.</p>

</li>
<li><p><code>undef ~~ %hash</code> is always false (since <code>undef</code> can&#39;t be a key in a hash). No implicit conversion to <code>&quot;&quot;</code> is done (as was the case in perl 5.10.0).</p>

</li>
<li><p><code>$scalar ~~ @array</code> now always distributes the smart match across the elements of the array. It&#39;s true if one element in @array verifies <code>$scalar ~~ $element</code>. This is a generalization of the old behaviour that tested whether the array contained the scalar.</p>

</li>
</ul>

<p>The full dispatch table for the smart match operator is given in <a href="perlsyn.html#Smart-matching-in-detail">&quot;Smart matching in detail&quot; in perlsyn</a>.</p>

<h3 id="Smart-match-and-overloading"><a class="permalink" href="perl5120delta.html#Smart-match-and-overloading">#</a><a id="Smart1"></a>Smart match and overloading</h3>

<p>According to the rule of dispatch based on the rightmost argument type, when an object overloading <code>~~</code> appears on the right side of the operator, the overload routine will always be called (with a 3rd argument set to a true value, see <a href="overload.html">overload</a>.) However, when the object will appear on the left, the overload routine will be called only when the rightmost argument is a simple scalar. This way, distributivity of smart match across arrays is not broken, as well as the other behaviours with complex types (coderefs, hashes, regexes). Thus, writers of overloading routines for smart match mostly need to worry only with comparing against a scalar, and possibly with stringification overloading; the other common cases will be automatically handled consistently.</p>

<p><code>~~</code> will now refuse to work on objects that do not overload it (in order to avoid relying on the object&#39;s underlying structure). (However, if the object overloads the stringification or the numification operators, and if overload fallback is active, it will be used instead, as usual.)</p>

<h2 id="Other-potentially-incompatible-changes"><a class="permalink" href="perl5120delta.html#Other-potentially-incompatible-changes">#</a><a id="Other"></a>Other potentially incompatible changes</h2>

<ul>

<li><p>The definitions of a number of Unicode properties have changed to match those of the current Unicode standard. These are listed above under <a href="perl5120delta.html#Unicode-overhaul">&quot;Unicode overhaul&quot;</a>. This change may break code that expects the old definitions.</p>

</li>
<li><p>The boolkeys op has moved to the group of hash ops. This breaks binary compatibility.</p>

</li>
<li><p>Filehandles are now always blessed into <code>IO::File</code>.</p>

<p>The previous behaviour was to bless Filehandles into <a href="FileHandle.html">FileHandle</a> (an empty proxy class) if it was loaded into memory and otherwise to bless them into <code>IO::Handle</code>.</p>

</li>
<li><p>The semantics of <code>use feature :5.10*</code> have changed slightly. See <a href="perl5120delta.html#Modules-and-Pragmata">&quot;Modules and Pragmata&quot;</a> for more information.</p>

</li>
<li><p>Perl&#39;s developers now use git, rather than Perforce. This should be a purely internal change only relevant to people actively working on the core. However, you may see minor difference in perl as a consequence of the change. For example in some of details of the output of <code>perl -V</code>. See <a href="perlrepository.html">perlrepository</a> for more information.</p>

</li>
<li><p>As part of the <code>Test::Harness</code> 2.x to 3.x upgrade, the experimental <code>Test::Harness::Straps</code> module has been removed. See <a href="perl5120delta.html#Modules-and-Pragmata">&quot;Modules and Pragmata&quot;</a> for more details.</p>

</li>
<li><p>As part of the <code>ExtUtils::MakeMaker</code> upgrade, the <code>ExtUtils::MakeMaker::bytes</code> and <code>ExtUtils::MakeMaker::vmsish</code> modules have been removed from this distribution.</p>

</li>
<li><p><code>Module::CoreList</code> no longer contains the <code>%:patchlevel</code> hash.</p>

</li>
<li><p><code>length undef</code> now returns undef.</p>

</li>
<li><p>Unsupported private C API functions are now declared &quot;static&quot; to prevent leakage to Perl&#39;s public API.</p>

</li>
<li><p>To support the bootstrapping process, <i>miniperl</i> no longer builds with UTF-8 support in the regexp engine.</p>

<p>This allows a build to complete with PERL_UNICODE set and a UTF-8 locale. Without this there&#39;s a bootstrapping problem, as miniperl can&#39;t load the UTF-8 components of the regexp engine, because they&#39;re not yet built.</p>

</li>
<li><p><i>miniperl</i>&#39;s @INC is now restricted to just <code>-I...</code>, the split of <code>$ENV{PERL5LIB}</code>, and &quot;<code>.</code>&quot;</p>

</li>
<li><p>A space or a newline is now required after a <code>&quot;#line XXX&quot;</code> directive.</p>

</li>
<li><p>Tied filehandles now have an additional method EOF which provides the EOF type.</p>

</li>
<li><p>To better match all other flow control statements, <code>foreach</code> may no longer be used as an attribute.</p>

</li>
<li><p>Perl&#39;s command-line switch &quot;-P&quot;, which was deprecated in version 5.10.0, has now been removed. The CPAN module <code>Filter::cpp</code> can be used as an alternative.</p>

</li>
</ul>

<h1 id="Deprecations"><a class="permalink" href="perl5120delta.html#Deprecations">#</a>Deprecations</h1>

<p>From time to time, Perl&#39;s developers find it necessary to deprecate features or modules we&#39;ve previously shipped as part of the core distribution. We are well aware of the pain and frustration that a backwards-incompatible change to Perl can cause for developers building or maintaining software in Perl. You can be sure that when we deprecate a functionality or syntax, it isn&#39;t a choice we make lightly. Sometimes, we choose to deprecate functionality or syntax because it was found to be poorly designed or implemented. Sometimes, this is because they&#39;re holding back other features or causing performance problems. Sometimes, the reasons are more complex. Wherever possible, we try to keep deprecated functionality available to developers in its previous form for at least one major release. So long as a deprecated feature isn&#39;t actively disrupting our ability to maintain and extend Perl, we&#39;ll try to leave it in place as long as possible.</p>

<p>The following items are now deprecated:</p>

<dl>

<dt id="suidperl"><a class="permalink" href="perl5120delta.html#suidperl">#</a>suidperl</dt>
<dd>

<p><code>suidperl</code> is no longer part of Perl. It used to provide a mechanism to emulate setuid permission bits on systems that don&#39;t support it properly.</p>

</dd>
<dt id="Use-of-:=-to-mean-an-empty-attribute-list"><a class="permalink" href="perl5120delta.html#Use-of-:=-to-mean-an-empty-attribute-list">#</a><a id="Use"></a><a id="Use-of-:-to-mean-an-empty-attribute-list"></a>Use of <code>:=</code> to mean an empty attribute list</dt>
<dd>

<p>An accident of Perl&#39;s parser meant that these constructions were all equivalent:</p>

<pre><code>my $pi := 4;
my $pi : = 4;
my $pi :  = 4;</code></pre>

<p>with the <code>:</code> being treated as the start of an attribute list, which ends before the <code>=</code>. As whitespace is not significant here, all are parsed as an empty attribute list, hence all the above are equivalent to, and better written as</p>

<pre><code>my $pi = 4;</code></pre>

<p>because no attribute processing is done for an empty list.</p>

<p>As is, this meant that <code>:=</code> cannot be used as a new token, without silently changing the meaning of existing code. Hence that particular form is now deprecated, and will become a syntax error. If it is absolutely necessary to have empty attribute lists (for example, because of a code generator) then avoid the warning by adding a space before the <code>=</code>.</p>

</dd>
<dt id="UNIVERSAL-&gt;import()"><a class="permalink" href="perl5120delta.html#UNIVERSAL-%3Eimport()">#</a><a id="UNIVERSAL"></a><a id="UNIVERSAL-import"></a><code>UNIVERSAL-&gt;import()</code></dt>
<dd>

<p>The method <code>UNIVERSAL-&gt;import()</code> is now deprecated. Attempting to pass import arguments to a <code>use UNIVERSAL</code> statement will result in a deprecation warning.</p>

</dd>
<dt id="Use-of-&quot;goto&quot;-to-jump-into-a-construct"><a class="permalink" href="perl5120delta.html#Use-of-%22goto%22-to-jump-into-a-construct">#</a><a id="Use1"></a><a id="Use-of-goto-to-jump-into-a-construct"></a>Use of &quot;goto&quot; to jump into a construct</dt>
<dd>

<p>Using <code>goto</code> to jump from an outer scope into an inner scope is now deprecated. This rare use case was causing problems in the implementation of scopes.</p>

</dd>
<dt id="Custom-character-names-in-\N{name}-that-don&#39;t-look-like-names"><a class="permalink" href="perl5120delta.html#Custom-character-names-in-%5CN%7Bname%7D-that-don&#39;t-look-like-names">#</a><a id="Custom"></a><a id="Custom-character-names-in-N-name-that-dont-look-like-names"></a>Custom character names in \N{name} that don&#39;t look like names</dt>
<dd>

<p>In <code>\N{<i>name</i>}</code>, <i>name</i> can be just about anything. The standard Unicode names have a very limited domain, but a custom name translator could create names that are, for example, made up entirely of punctuation symbols. It is now deprecated to make names that don&#39;t begin with an alphabetic character, and aren&#39;t alphanumeric or contain other than a very few other characters, namely spaces, dashes, parentheses and colons. Because of the added meaning of <code>\N</code> (See <code><a href="perl5120delta.html#%5CN">&quot;\N&quot;</a> experimental regex escape</code>), names that look like curly brace -enclosed quantifiers won&#39;t work. For example, <code>\N{3,4}</code> now means to match 3 to 4 non-newlines; before a custom name <code>3,4</code> could have been created.</p>

</dd>
<dt id="Deprecated-Modules"><a class="permalink" href="perl5120delta.html#Deprecated-Modules">#</a><a id="Deprecated"></a>Deprecated Modules</dt>
<dd>

<p>The following modules will be removed from the core distribution in a future release, and should be installed from CPAN instead. Distributions on CPAN which require these should add them to their prerequisites. The core versions of these modules warnings will issue a deprecation warning.</p>

<p>If you ship a packaged version of Perl, either alone or as part of a larger system, then you should carefully consider the repercussions of core module deprecations. You may want to consider shipping your default build of Perl with packages for some or all deprecated modules which install into <code>vendor</code> or <code>site</code> perl library directories. This will inhibit the deprecation warnings.</p>

<p>Alternatively, you may want to consider patching <i>lib/deprecate.pm</i> to provide deprecation warnings specific to your packaging system or distribution of Perl, consistent with how your packaging system or distribution manages a staged transition from a release where the installation of a single package provides the given functionality, to a later release where the system administrator needs to know to install multiple packages to get that same functionality.</p>

<p>You can silence these deprecation warnings by installing the modules in question from CPAN. To install the latest version of all of them, just install <code>Task::Deprecations::5_12</code>.</p>

<dl>

<dt id="Class::ISA"><a class="permalink" href="perl5120delta.html#Class::ISA">#</a><a id="Class"></a><a href="./Class::ISA.html">Class::ISA</a></dt>
<dd>

</dd>
<dt id="Pod::Plainer"><a class="permalink" href="perl5120delta.html#Pod::Plainer">#</a><a id="Pod"></a><a href="./Pod::Plainer.html">Pod::Plainer</a></dt>
<dd>

</dd>
<dt id="Shell"><a class="permalink" href="perl5120delta.html#Shell">#</a><a href="Shell.html">Shell</a></dt>
<dd>

</dd>
<dt id="Switch"><a class="permalink" href="perl5120delta.html#Switch">#</a><a href="Switch.html">Switch</a></dt>
<dd>

<p>Switch is buggy and should be avoided. You may find Perl&#39;s new <code>given</code>/<code>when</code> feature a suitable replacement. See <a href="perlsyn.html#Switch-statements">&quot;Switch statements&quot; in perlsyn</a> for more information.</p>

</dd>
</dl>

</dd>
<dt id="Assignment-to-$["><a class="permalink" href="perl5120delta.html#Assignment-to-$%5B">#</a><a id="Assignment"></a><a id="Assignment-to"></a>Assignment to $[</dt>
<dd>

</dd>
<dt id="Use-of-the-attribute-:locked-on-subroutines"><a class="permalink" href="perl5120delta.html#Use-of-the-attribute-:locked-on-subroutines">#</a><a id="Use2"></a>Use of the attribute :locked on subroutines</dt>
<dd>

</dd>
<dt id="Use-of-&quot;locked&quot;-with-the-attributes-pragma"><a class="permalink" href="perl5120delta.html#Use-of-%22locked%22-with-the-attributes-pragma">#</a><a id="Use3"></a><a id="Use-of-locked-with-the-attributes-pragma"></a>Use of &quot;locked&quot; with the attributes pragma</dt>
<dd>

</dd>
<dt id="Use-of-&quot;unique&quot;-with-the-attributes-pragma"><a class="permalink" href="perl5120delta.html#Use-of-%22unique%22-with-the-attributes-pragma">#</a><a id="Use4"></a><a id="Use-of-unique-with-the-attributes-pragma"></a>Use of &quot;unique&quot; with the attributes pragma</dt>
<dd>

</dd>
<dt id="Perl_pmflag"><a class="permalink" href="perl5120delta.html#Perl_pmflag">#</a>Perl_pmflag</dt>
<dd>

<p><code>Perl_pmflag</code> is no longer part of Perl&#39;s public API. Calling it now generates a deprecation warning, and it will be removed in a future release. Although listed as part of the API, it was never documented, and only ever used in <i>toke.c</i>, and prior to 5.10, <i>regcomp.c</i>. In core, it has been replaced by a static function.</p>

</dd>
<dt id="Numerous-Perl-4-era-libraries"><a class="permalink" href="perl5120delta.html#Numerous-Perl-4-era-libraries">#</a><a id="Numerous"></a>Numerous Perl 4-era libraries</dt>
<dd>

<p><i>termcap.pl</i>, <i>tainted.pl</i>, <i>stat.pl</i>, <i>shellwords.pl</i>, <i>pwd.pl</i>, <i>open3.pl</i>, <i>open2.pl</i>, <i>newgetopt.pl</i>, <i>look.pl</i>, <i>find.pl</i>, <i>finddepth.pl</i>, <i>importenv.pl</i>, <i>hostname.pl</i>, <i>getopts.pl</i>, <i>getopt.pl</i>, <i>getcwd.pl</i>, <i>flush.pl</i>, <i>fastcwd.pl</i>, <i>exceptions.pl</i>, <i>ctime.pl</i>, <i>complete.pl</i>, <i>cacheout.pl</i>, <i>bigrat.pl</i>, <i>bigint.pl</i>, <i>bigfloat.pl</i>, <i>assert.pl</i>, <i>abbrev.pl</i>, <i>dotsh.pl</i>, and <i>timelocal.pl</i> are all now deprecated. Earlier, Perl&#39;s developers intended to remove these libraries from Perl&#39;s core for the 5.14.0 release.</p>

<p>During final testing before the release of 5.12.0, several developers discovered current production code using these ancient libraries, some inside the Perl core itself. Accordingly, the pumpking granted them a stay of execution. They will begin to warn about their deprecation in the 5.14.0 release and will be removed in the 5.16.0 release.</p>

</dd>
</dl>

<h1 id="Unicode-overhaul"><a class="permalink" href="perl5120delta.html#Unicode-overhaul">#</a><a id="Unicode1"></a>Unicode overhaul</h1>

<p>Perl&#39;s developers have made a concerted effort to update Perl to be in sync with the latest Unicode standard. Changes for this include:</p>

<p>Perl can now handle every Unicode character property. New documentation, <a href="perluniprops.html">perluniprops</a>, lists all available non-Unihan character properties. By default, perl does not expose Unihan, deprecated or Unicode-internal properties. See below for more details on these; there is also a section in the pod listing them, and explaining why they are not exposed.</p>

<p>Perl now fully supports the Unicode compound-style of using <code>=</code> and <code>:</code> in writing regular expressions: <code>\p{property=value}</code> and <code>\p{property:value}</code> (both of which mean the same thing).</p>

<p>Perl now fully supports the Unicode loose matching rules for text between the braces in <code>\p{...}</code> constructs. In addition, Perl allows underscores between digits of numbers.</p>

<p>Perl now accepts all the Unicode-defined synonyms for properties and property values.</p>

<p><code>qr/\X/</code>, which matches a Unicode logical character, has been expanded to work better with various Asian languages. It now is defined as an <i>extended grapheme cluster</i>. (See <a href="http://www.unicode.org/reports/tr29/">http://www.unicode.org/reports/tr29/</a>). Anything matched previously and that made sense will continue to be accepted. Additionally:</p>

<ul>

<li><p><code>\X</code> will not break apart a <code><span style="white-space: nowrap;">CR LF</span></code> sequence.</p>

</li>
<li><p><code>\X</code> will now match a sequence which includes the <code>ZWJ</code> and <code>ZWNJ</code> characters.</p>

</li>
<li><p><code>\X</code> will now always match at least one character, including an initial mark. Marks generally come after a base character, but it is possible in Unicode to have them in isolation, and <code>\X</code> will now handle that case, for example at the beginning of a line, or after a <code>ZWSP</code>. And this is the part where <code>\X</code> doesn&#39;t match the things that it used to that don&#39;t make sense. Formerly, for example, you could have the nonsensical case of an accented LF.</p>

</li>
<li><p><code>\X</code> will now match a (Korean) Hangul syllable sequence, and the Thai and Lao exception cases.</p>

</li>
</ul>

<p>Otherwise, this change should be transparent for the non-affected languages.</p>

<p><code>\p{...}</code> matches using the Canonical_Combining_Class property were completely broken in previous releases of Perl. They should now work correctly.</p>

<p>Before Perl 5.12, the Unicode <code>Decomposition_Type=Compat</code> property and a Perl extension had the same name, which led to neither matching all the correct values (with more than 100 mistakes in one, and several thousand in the other). The Perl extension has now been renamed to be <code>Decomposition_Type=Noncanonical</code> (short: <code>dt=noncanon</code>). It has the same meaning as was previously intended, namely the union of all the non-canonical Decomposition types, with Unicode <code>Compat</code> being just one of those.</p>

<p><code>\p{Decomposition_Type=Canonical}</code> now includes the Hangul syllables.</p>

<p><code>\p{Uppercase}</code> and <code>\p{Lowercase}</code> now work as the Unicode standard says they should. This means they each match a few more characters than they used to.</p>

<p><code>\p{Cntrl}</code> now matches the same characters as <code>\p{Control}</code>. This means it no longer will match Private Use (gc=co), Surrogates (gc=cs), nor Format (gc=cf) code points. The Format code points represent the biggest possible problem. All but 36 of them are either officially deprecated or strongly discouraged from being used. Of those 36, likely the most widely used are the soft hyphen (U+00AD), and BOM, ZWSP, ZWNJ, WJ, and similar characters, plus bidirectional controls.</p>

<p><code>\p{Alpha}</code> now matches the same characters as <code>\p{Alphabetic}</code>. Before 5.12, Perl&#39;s definition included a number of things that aren&#39;t really alpha (all marks) while omitting many that were. The definitions of <code>\p{Alnum}</code> and <code>\p{Word}</code> depend on Alpha&#39;s definition and have changed accordingly.</p>

<p><code>\p{Word}</code> no longer incorrectly matches non-word characters such as fractions.</p>

<p><code>\p{Print}</code> no longer matches the line control characters: Tab, LF, CR, FF, VT, and NEL. This brings it in line with standards and the documentation.</p>

<p><code>\p{XDigit}</code> now matches the same characters as <code>\p{Hex_Digit}</code>. This means that in addition to the characters it currently matches, <code>[A-Fa-f0-9]</code>, it will also match the 22 fullwidth equivalents, for example U+FF10: FULLWIDTH DIGIT ZERO.</p>

<p>The Numeric type property has been extended to include the Unihan characters.</p>

<p>There is a new Perl extension, the &#39;Present_In&#39;, or simply &#39;In&#39;, property. This is an extension of the Unicode Age property, but <code>\p{In=5.0}</code> matches any code point whose usage has been determined <i>as of</i> Unicode version 5.0. The <code>\p{Age=5.0}</code> only matches code points added in <i>precisely</i> version 5.0.</p>

<p>A number of properties now have the correct values for unassigned code points. The affected properties are Bidi_Class, East_Asian_Width, Joining_Type, Decomposition_Type, Hangul_Syllable_Type, Numeric_Type, and Line_Break.</p>

<p>The Default_Ignorable_Code_Point, ID_Continue, and ID_Start properties are now up to date with current Unicode definitions.</p>

<p>Earlier versions of Perl erroneously exposed certain properties that are supposed to be Unicode internal-only. Use of these in regular expressions will now generate, if enabled, a deprecation warning message. The properties are: Other_Alphabetic, Other_Default_Ignorable_Code_Point, Other_Grapheme_Extend, Other_ID_Continue, Other_ID_Start, Other_Lowercase, Other_Math, and Other_Uppercase.</p>

<p>It is now possible to change which Unicode properties Perl understands on a per-installation basis. As mentioned above, certain properties are turned off by default. These include all the Unihan properties (which should be accessible via the CPAN module Unicode::Unihan) and any deprecated or Unicode internal-only property that Perl has never exposed.</p>

<p>The generated files in the <code>lib/unicore/To</code> directory are now more clearly marked as being stable, directly usable by applications. New hash entries in them give the format of the normal entries, which allows for easier machine parsing. Perl can generate files in this directory for any property, though most are suppressed. You can find instructions for changing which are written in <a href="perluniprops.html">perluniprops</a>.</p>

<h1 id="Modules-and-Pragmata"><a class="permalink" href="perl5120delta.html#Modules-and-Pragmata">#</a><a id="Modules"></a>Modules and Pragmata</h1>

<h2 id="New-Modules-and-Pragmata"><a class="permalink" href="perl5120delta.html#New-Modules-and-Pragmata">#</a><a id="New2"></a>New Modules and Pragmata</h2>

<dl>

<dt id="autodie"><a class="permalink" href="perl5120delta.html#autodie">#</a><code>autodie</code></dt>
<dd>

<p><code>autodie</code> is a new lexically-scoped alternative for the <code>Fatal</code> module. The bundled version is 2.06_01. Note that in this release, using a string eval when <code>autodie</code> is in effect can cause the autodie behaviour to leak into the surrounding scope. See <a href="autodie.html#BUGS">&quot;BUGS&quot; in autodie</a> for more details.</p>

<p>Version 2.06_01 has been added to the Perl core.</p>

</dd>
<dt id="Compress::Raw::Bzip2"><a class="permalink" href="perl5120delta.html#Compress::Raw::Bzip2">#</a><a id="Compress"></a><code>Compress::Raw::Bzip2</code></dt>
<dd>

<p>Version 2.024 has been added to the Perl core.</p>

</dd>
<dt id="overloading"><a class="permalink" href="perl5120delta.html#overloading">#</a><code>overloading</code></dt>
<dd>

<p><code>overloading</code> allows you to lexically disable or enable overloading for some or all operations.</p>

<p>Version 0.001 has been added to the Perl core.</p>

</dd>
<dt id="parent"><a class="permalink" href="perl5120delta.html#parent">#</a><code>parent</code></dt>
<dd>

<p><code>parent</code> establishes an ISA relationship with base classes at compile time. It provides the key feature of <code>base</code> without further unwanted behaviors.</p>

<p>Version 0.223 has been added to the Perl core.</p>

</dd>
<dt id="Parse::CPAN::Meta"><a class="permalink" href="perl5120delta.html#Parse::CPAN::Meta">#</a><a id="Parse"></a><code>Parse::CPAN::Meta</code></dt>
<dd>

<p>Version 1.40 has been added to the Perl core.</p>

</dd>
<dt id="VMS::DCLsym"><a class="permalink" href="perl5120delta.html#VMS::DCLsym">#</a><a id="VMS"></a><code>VMS::DCLsym</code></dt>
<dd>

<p>Version 1.03 has been added to the Perl core.</p>

</dd>
<dt id="VMS::Stdio"><a class="permalink" href="perl5120delta.html#VMS::Stdio">#</a><a id="VMS1"></a><code>VMS::Stdio</code></dt>
<dd>

<p>Version 2.4 has been added to the Perl core.</p>

</dd>
<dt id="XS::APItest::KeywordRPN"><a class="permalink" href="perl5120delta.html#XS::APItest::KeywordRPN">#</a><a id="XS"></a><code>XS::APItest::KeywordRPN</code></dt>
<dd>

<p>Version 0.003 has been added to the Perl core.</p>

</dd>
</dl>

<h2 id="Updated-Pragmata"><a class="permalink" href="perl5120delta.html#Updated-Pragmata">#</a><a id="Updated"></a>Updated Pragmata</h2>

<dl>

<dt id="base"><a class="permalink" href="perl5120delta.html#base">#</a><code>base</code></dt>
<dd>

<p>Upgraded from version 2.13 to 2.15.</p>

</dd>
<dt id="bignum"><a class="permalink" href="perl5120delta.html#bignum">#</a><code>bignum</code></dt>
<dd>

<p>Upgraded from version 0.22 to 0.23.</p>

</dd>
<dt id="charnames"><a class="permalink" href="perl5120delta.html#charnames">#</a><code>charnames</code></dt>
<dd>

<p><code>charnames</code> now contains the Unicode <i>NameAliases.txt</i> database file. This has the effect of adding some extra <code>\N</code> character names that formerly wouldn&#39;t have been recognised; for example, <code>&quot;\N{LATIN CAPITAL LETTER GHA}&quot;</code>.</p>

<p>Upgraded from version 1.06 to 1.07.</p>

</dd>
<dt id="constant"><a class="permalink" href="perl5120delta.html#constant">#</a><code>constant</code></dt>
<dd>

<p>Upgraded from version 1.13 to 1.20.</p>

</dd>
<dt id="diagnostics"><a class="permalink" href="perl5120delta.html#diagnostics">#</a><code>diagnostics</code></dt>
<dd>

<p><code>diagnostics</code> now supports %.0f formatting internally.</p>

<p><code>diagnostics</code> no longer suppresses <code>Use of uninitialized value in range (or flip)</code> warnings. [perl #71204]</p>

<p>Upgraded from version 1.17 to 1.19.</p>

</dd>
<dt id="feature"><a class="permalink" href="perl5120delta.html#feature">#</a><code>feature</code></dt>
<dd>

<p>In <code>feature</code>, the meaning of the <code>:5.10</code> and <code>:5.10.X</code> feature bundles has changed slightly. The last component, if any (i.e. <code>X</code>) is simply ignored. This is predicated on the assumption that new features will not, in general, be added to maintenance releases. So <code>:5.10</code> and <code>:5.10.X</code> have identical effect. This is a change to the behaviour documented for 5.10.0.</p>

<p><code>feature</code> now includes the <code>unicode_strings</code> feature:</p>

<pre><code>use feature &quot;unicode_strings&quot;;</code></pre>

<p>This pragma turns on Unicode semantics for the case-changing operations (<code>uc</code>, <code>lc</code>, <code>ucfirst</code>, <code>lcfirst</code>) on strings that don&#39;t have the internal UTF-8 flag set, but that contain single-byte characters between 128 and 255.</p>

<p>Upgraded from version 1.11 to 1.16.</p>

</dd>
<dt id="less"><a class="permalink" href="perl5120delta.html#less">#</a><code>less</code></dt>
<dd>

<p><code>less</code> now includes the <code>stash_name</code> method to allow subclasses of <code>less</code> to pick where in %^H to store their stash.</p>

<p>Upgraded from version 0.02 to 0.03.</p>

</dd>
<dt id="lib"><a class="permalink" href="perl5120delta.html#lib">#</a><code>lib</code></dt>
<dd>

<p>Upgraded from version 0.5565 to 0.62.</p>

</dd>
<dt id="mro"><a class="permalink" href="perl5120delta.html#mro">#</a><code>mro</code></dt>
<dd>

<p><code>mro</code> is now implemented as an XS extension. The documented interface has not changed. Code relying on the implementation detail that some <code>mro::</code> methods happened to be available at all times gets to &quot;keep both pieces&quot;.</p>

<p>Upgraded from version 1.00 to 1.02.</p>

</dd>
<dt id="overload"><a class="permalink" href="perl5120delta.html#overload">#</a><code>overload</code></dt>
<dd>

<p><code>overload</code> now allow overloading of &#39;qr&#39;.</p>

<p>Upgraded from version 1.06 to 1.10.</p>

</dd>
<dt id="threads"><a class="permalink" href="perl5120delta.html#threads">#</a><code>threads</code></dt>
<dd>

<p>Upgraded from version 1.67 to 1.75.</p>

</dd>
<dt id="threads::shared"><a class="permalink" href="perl5120delta.html#threads::shared">#</a><a id="threads1"></a><code>threads::shared</code></dt>
<dd>

<p>Upgraded from version 1.14 to 1.32.</p>

</dd>
<dt id="version"><a class="permalink" href="perl5120delta.html#version">#</a><code>version</code></dt>
<dd>

<p><code>version</code> now has support for <a href="perl5120delta.html#Version-number-formats">&quot;Version number formats&quot;</a> as described earlier in this document and in its own documentation.</p>

<p>Upgraded from version 0.74 to 0.82.</p>

</dd>
<dt id="warnings"><a class="permalink" href="perl5120delta.html#warnings">#</a><code>warnings</code></dt>
<dd>

<p><code>warnings</code> has a new <code>warnings::fatal_enabled()</code> function. It also includes a new <code>illegalproto</code> warning category. See also <a href="perl5120delta.html#New-or-Changed-Diagnostics">&quot;New or Changed Diagnostics&quot;</a> for this change.</p>

<p>Upgraded from version 1.06 to 1.09.</p>

</dd>
</dl>

<h2 id="Updated-Modules"><a class="permalink" href="perl5120delta.html#Updated-Modules">#</a><a id="Updated1"></a>Updated Modules</h2>

<dl>

<dt id="Archive::Extract"><a class="permalink" href="perl5120delta.html#Archive::Extract">#</a><a id="Archive"></a><code>Archive::Extract</code></dt>
<dd>

<p>Upgraded from version 0.24 to 0.38.</p>

</dd>
<dt id="Archive::Tar"><a class="permalink" href="perl5120delta.html#Archive::Tar">#</a><a id="Archive1"></a><code>Archive::Tar</code></dt>
<dd>

<p>Upgraded from version 1.38 to 1.54.</p>

</dd>
<dt id="Attribute::Handlers"><a class="permalink" href="perl5120delta.html#Attribute::Handlers">#</a><a id="Attribute"></a><code>Attribute::Handlers</code></dt>
<dd>

<p>Upgraded from version 0.79 to 0.87.</p>

</dd>
<dt id="AutoLoader"><a class="permalink" href="perl5120delta.html#AutoLoader">#</a><code>AutoLoader</code></dt>
<dd>

<p>Upgraded from version 5.63 to 5.70.</p>

</dd>
<dt id="B::Concise"><a class="permalink" href="perl5120delta.html#B::Concise">#</a><a id="B"></a><code>B::Concise</code></dt>
<dd>

<p>Upgraded from version 0.74 to 0.78.</p>

</dd>
<dt id="B::Debug"><a class="permalink" href="perl5120delta.html#B::Debug">#</a><a id="B1"></a><code>B::Debug</code></dt>
<dd>

<p>Upgraded from version 1.05 to 1.12.</p>

</dd>
<dt id="B::Deparse"><a class="permalink" href="perl5120delta.html#B::Deparse">#</a><a id="B2"></a><code>B::Deparse</code></dt>
<dd>

<p>Upgraded from version 0.83 to 0.96.</p>

</dd>
<dt id="B::Lint"><a class="permalink" href="perl5120delta.html#B::Lint">#</a><a id="B3"></a><code>B::Lint</code></dt>
<dd>

<p>Upgraded from version 1.09 to 1.11_01.</p>

</dd>
<dt id="CGI"><a class="permalink" href="perl5120delta.html#CGI">#</a><code>CGI</code></dt>
<dd>

<p>Upgraded from version 3.29 to 3.48.</p>

</dd>
<dt id="Class::ISA1"><a class="permalink" href="perl5120delta.html#Class::ISA1">#</a><a id="Class1"></a><code>Class::ISA</code></dt>
<dd>

<p>Upgraded from version 0.33 to 0.36.</p>

<p>NOTE: <code>Class::ISA</code> is deprecated and may be removed from a future version of Perl.</p>

</dd>
<dt id="Compress::Raw::Zlib"><a class="permalink" href="perl5120delta.html#Compress::Raw::Zlib">#</a><a id="Compress1"></a><code>Compress::Raw::Zlib</code></dt>
<dd>

<p>Upgraded from version 2.008 to 2.024.</p>

</dd>
<dt id="CPAN"><a class="permalink" href="perl5120delta.html#CPAN">#</a><code>CPAN</code></dt>
<dd>

<p>Upgraded from version 1.9205 to 1.94_56.</p>

</dd>
<dt id="CPANPLUS"><a class="permalink" href="perl5120delta.html#CPANPLUS">#</a><code>CPANPLUS</code></dt>
<dd>

<p>Upgraded from version 0.84 to 0.90.</p>

</dd>
<dt id="CPANPLUS::Dist::Build"><a class="permalink" href="perl5120delta.html#CPANPLUS::Dist::Build">#</a><a id="CPANPLUS1"></a><code>CPANPLUS::Dist::Build</code></dt>
<dd>

<p>Upgraded from version 0.06_02 to 0.46.</p>

</dd>
<dt id="Data::Dumper"><a class="permalink" href="perl5120delta.html#Data::Dumper">#</a><a id="Data"></a><code>Data::Dumper</code></dt>
<dd>

<p>Upgraded from version 2.121_14 to 2.125.</p>

</dd>
<dt id="DB_File"><a class="permalink" href="perl5120delta.html#DB_File">#</a><code>DB_File</code></dt>
<dd>

<p>Upgraded from version 1.816_1 to 1.820.</p>

</dd>
<dt id="Devel::PPPort"><a class="permalink" href="perl5120delta.html#Devel::PPPort">#</a><a id="Devel"></a><code>Devel::PPPort</code></dt>
<dd>

<p>Upgraded from version 3.13 to 3.19.</p>

</dd>
<dt id="Digest"><a class="permalink" href="perl5120delta.html#Digest">#</a><code>Digest</code></dt>
<dd>

<p>Upgraded from version 1.15 to 1.16.</p>

</dd>
<dt id="Digest::MD5"><a class="permalink" href="perl5120delta.html#Digest::MD5">#</a><a id="Digest1"></a><code>Digest::MD5</code></dt>
<dd>

<p>Upgraded from version 2.36_01 to 2.39.</p>

</dd>
<dt id="Digest::SHA"><a class="permalink" href="perl5120delta.html#Digest::SHA">#</a><a id="Digest2"></a><code>Digest::SHA</code></dt>
<dd>

<p>Upgraded from version 5.45 to 5.47.</p>

</dd>
<dt id="Encode"><a class="permalink" href="perl5120delta.html#Encode">#</a><code>Encode</code></dt>
<dd>

<p>Upgraded from version 2.23 to 2.39.</p>

</dd>
<dt id="Exporter"><a class="permalink" href="perl5120delta.html#Exporter">#</a><code>Exporter</code></dt>
<dd>

<p>Upgraded from version 5.62 to 5.64_01.</p>

</dd>
<dt id="ExtUtils::CBuilder"><a class="permalink" href="perl5120delta.html#ExtUtils::CBuilder">#</a><a id="ExtUtils"></a><code>ExtUtils::CBuilder</code></dt>
<dd>

<p>Upgraded from version 0.21 to 0.27.</p>

</dd>
<dt id="ExtUtils::Command"><a class="permalink" href="perl5120delta.html#ExtUtils::Command">#</a><a id="ExtUtils1"></a><code>ExtUtils::Command</code></dt>
<dd>

<p>Upgraded from version 1.13 to 1.16.</p>

</dd>
<dt id="ExtUtils::Constant"><a class="permalink" href="perl5120delta.html#ExtUtils::Constant">#</a><a id="ExtUtils2"></a><code>ExtUtils::Constant</code></dt>
<dd>

<p>Upgraded from version 0.2 to 0.22.</p>

</dd>
<dt id="ExtUtils::Install"><a class="permalink" href="perl5120delta.html#ExtUtils::Install">#</a><a id="ExtUtils3"></a><code>ExtUtils::Install</code></dt>
<dd>

<p>Upgraded from version 1.44 to 1.55.</p>

</dd>
<dt id="ExtUtils::MakeMaker"><a class="permalink" href="perl5120delta.html#ExtUtils::MakeMaker">#</a><a id="ExtUtils4"></a><code>ExtUtils::MakeMaker</code></dt>
<dd>

<p>Upgraded from version 6.42 to 6.56.</p>

</dd>
<dt id="ExtUtils::Manifest"><a class="permalink" href="perl5120delta.html#ExtUtils::Manifest">#</a><a id="ExtUtils5"></a><code>ExtUtils::Manifest</code></dt>
<dd>

<p>Upgraded from version 1.51_01 to 1.57.</p>

</dd>
<dt id="ExtUtils::ParseXS"><a class="permalink" href="perl5120delta.html#ExtUtils::ParseXS">#</a><a id="ExtUtils6"></a><code>ExtUtils::ParseXS</code></dt>
<dd>

<p>Upgraded from version 2.18_02 to 2.21.</p>

</dd>
<dt id="File::Fetch"><a class="permalink" href="perl5120delta.html#File::Fetch">#</a><a id="File"></a><code>File::Fetch</code></dt>
<dd>

<p>Upgraded from version 0.14 to 0.24.</p>

</dd>
<dt id="File::Path"><a class="permalink" href="perl5120delta.html#File::Path">#</a><a id="File1"></a><code>File::Path</code></dt>
<dd>

<p>Upgraded from version 2.04 to 2.08_01.</p>

</dd>
<dt id="File::Temp"><a class="permalink" href="perl5120delta.html#File::Temp">#</a><a id="File2"></a><code>File::Temp</code></dt>
<dd>

<p>Upgraded from version 0.18 to 0.22.</p>

</dd>
<dt id="Filter::Simple"><a class="permalink" href="perl5120delta.html#Filter::Simple">#</a><a id="Filter"></a><code>Filter::Simple</code></dt>
<dd>

<p>Upgraded from version 0.82 to 0.84.</p>

</dd>
<dt id="Filter::Util::Call"><a class="permalink" href="perl5120delta.html#Filter::Util::Call">#</a><a id="Filter1"></a><code>Filter::Util::Call</code></dt>
<dd>

<p>Upgraded from version 1.07 to 1.08.</p>

</dd>
<dt id="Getopt::Long"><a class="permalink" href="perl5120delta.html#Getopt::Long">#</a><a id="Getopt"></a><code>Getopt::Long</code></dt>
<dd>

<p>Upgraded from version 2.37 to 2.38.</p>

</dd>
<dt id="IO"><a class="permalink" href="perl5120delta.html#IO">#</a><code>IO</code></dt>
<dd>

<p>Upgraded from version 1.23_01 to 1.25_02.</p>

</dd>
<dt id="IO::Zlib"><a class="permalink" href="perl5120delta.html#IO::Zlib">#</a><a id="IO1"></a><code>IO::Zlib</code></dt>
<dd>

<p>Upgraded from version 1.07 to 1.10.</p>

</dd>
<dt id="IPC::Cmd"><a class="permalink" href="perl5120delta.html#IPC::Cmd">#</a><a id="IPC"></a><code>IPC::Cmd</code></dt>
<dd>

<p>Upgraded from version 0.40_1 to 0.54.</p>

</dd>
<dt id="IPC::SysV"><a class="permalink" href="perl5120delta.html#IPC::SysV">#</a><a id="IPC1"></a><code>IPC::SysV</code></dt>
<dd>

<p>Upgraded from version 1.05 to 2.01.</p>

</dd>
<dt id="Locale::Maketext"><a class="permalink" href="perl5120delta.html#Locale::Maketext">#</a><a id="Locale"></a><code>Locale::Maketext</code></dt>
<dd>

<p>Upgraded from version 1.12 to 1.14.</p>

</dd>
<dt id="Locale::Maketext::Simple"><a class="permalink" href="perl5120delta.html#Locale::Maketext::Simple">#</a><a id="Locale1"></a><code>Locale::Maketext::Simple</code></dt>
<dd>

<p>Upgraded from version 0.18 to 0.21.</p>

</dd>
<dt id="Log::Message"><a class="permalink" href="perl5120delta.html#Log::Message">#</a><a id="Log"></a><code>Log::Message</code></dt>
<dd>

<p>Upgraded from version 0.01 to 0.02.</p>

</dd>
<dt id="Log::Message::Simple"><a class="permalink" href="perl5120delta.html#Log::Message::Simple">#</a><a id="Log1"></a><code>Log::Message::Simple</code></dt>
<dd>

<p>Upgraded from version 0.04 to 0.06.</p>

</dd>
<dt id="Math::BigInt"><a class="permalink" href="perl5120delta.html#Math::BigInt">#</a><a id="Math"></a><code>Math::BigInt</code></dt>
<dd>

<p>Upgraded from version 1.88 to 1.89_01.</p>

</dd>
<dt id="Math::BigInt::FastCalc"><a class="permalink" href="perl5120delta.html#Math::BigInt::FastCalc">#</a><a id="Math1"></a><code>Math::BigInt::FastCalc</code></dt>
<dd>

<p>Upgraded from version 0.16 to 0.19.</p>

</dd>
<dt id="Math::BigRat"><a class="permalink" href="perl5120delta.html#Math::BigRat">#</a><a id="Math2"></a><code>Math::BigRat</code></dt>
<dd>

<p>Upgraded from version 0.21 to 0.24.</p>

</dd>
<dt id="Math::Complex"><a class="permalink" href="perl5120delta.html#Math::Complex">#</a><a id="Math3"></a><code>Math::Complex</code></dt>
<dd>

<p>Upgraded from version 1.37 to 1.56.</p>

</dd>
<dt id="Memoize"><a class="permalink" href="perl5120delta.html#Memoize">#</a><code>Memoize</code></dt>
<dd>

<p>Upgraded from version 1.01_02 to 1.01_03.</p>

</dd>
<dt id="MIME::Base64"><a class="permalink" href="perl5120delta.html#MIME::Base64">#</a><a id="MIME"></a><code>MIME::Base64</code></dt>
<dd>

<p>Upgraded from version 3.07_01 to 3.08.</p>

</dd>
<dt id="Module::Build"><a class="permalink" href="perl5120delta.html#Module::Build">#</a><a id="Module"></a><code>Module::Build</code></dt>
<dd>

<p>Upgraded from version 0.2808_01 to 0.3603.</p>

</dd>
<dt id="Module::CoreList"><a class="permalink" href="perl5120delta.html#Module::CoreList">#</a><a id="Module1"></a><code>Module::CoreList</code></dt>
<dd>

<p>Upgraded from version 2.12 to 2.29.</p>

</dd>
<dt id="Module::Load"><a class="permalink" href="perl5120delta.html#Module::Load">#</a><a id="Module2"></a><code>Module::Load</code></dt>
<dd>

<p>Upgraded from version 0.12 to 0.16.</p>

</dd>
<dt id="Module::Load::Conditional"><a class="permalink" href="perl5120delta.html#Module::Load::Conditional">#</a><a id="Module3"></a><code>Module::Load::Conditional</code></dt>
<dd>

<p>Upgraded from version 0.22 to 0.34.</p>

</dd>
<dt id="Module::Loaded"><a class="permalink" href="perl5120delta.html#Module::Loaded">#</a><a id="Module4"></a><code>Module::Loaded</code></dt>
<dd>

<p>Upgraded from version 0.01 to 0.06.</p>

</dd>
<dt id="Module::Pluggable"><a class="permalink" href="perl5120delta.html#Module::Pluggable">#</a><a id="Module5"></a><code>Module::Pluggable</code></dt>
<dd>

<p>Upgraded from version 3.6 to 3.9.</p>

</dd>
<dt id="Net::Ping"><a class="permalink" href="perl5120delta.html#Net::Ping">#</a><a id="Net"></a><code>Net::Ping</code></dt>
<dd>

<p>Upgraded from version 2.33 to 2.36.</p>

</dd>
<dt id="NEXT"><a class="permalink" href="perl5120delta.html#NEXT">#</a><code>NEXT</code></dt>
<dd>

<p>Upgraded from version 0.60_01 to 0.64.</p>

</dd>
<dt id="Object::Accessor"><a class="permalink" href="perl5120delta.html#Object::Accessor">#</a><a id="Object"></a><code>Object::Accessor</code></dt>
<dd>

<p>Upgraded from version 0.32 to 0.36.</p>

</dd>
<dt id="Package::Constants"><a class="permalink" href="perl5120delta.html#Package::Constants">#</a><a id="Package"></a><code>Package::Constants</code></dt>
<dd>

<p>Upgraded from version 0.01 to 0.02.</p>

</dd>
<dt id="PerlIO"><a class="permalink" href="perl5120delta.html#PerlIO">#</a><code>PerlIO</code></dt>
<dd>

<p>Upgraded from version 1.04 to 1.06.</p>

</dd>
<dt id="Pod::Parser"><a class="permalink" href="perl5120delta.html#Pod::Parser">#</a><a id="Pod1"></a><code>Pod::Parser</code></dt>
<dd>

<p>Upgraded from version 1.35 to 1.37.</p>

</dd>
<dt id="Pod::Perldoc"><a class="permalink" href="perl5120delta.html#Pod::Perldoc">#</a><a id="Pod2"></a><code>Pod::Perldoc</code></dt>
<dd>

<p>Upgraded from version 3.14_02 to 3.15_02.</p>

</dd>
<dt id="Pod::Plainer1"><a class="permalink" href="perl5120delta.html#Pod::Plainer1">#</a><a id="Pod3"></a><code>Pod::Plainer</code></dt>
<dd>

<p>Upgraded from version 0.01 to 1.02.</p>

<p>NOTE: <code>Pod::Plainer</code> is deprecated and may be removed from a future version of Perl.</p>

</dd>
<dt id="Pod::Simple"><a class="permalink" href="perl5120delta.html#Pod::Simple">#</a><a id="Pod4"></a><code>Pod::Simple</code></dt>
<dd>

<p>Upgraded from version 3.05 to 3.13.</p>

</dd>
<dt id="Safe"><a class="permalink" href="perl5120delta.html#Safe">#</a><code>Safe</code></dt>
<dd>

<p>Upgraded from version 2.12 to 2.22.</p>

</dd>
<dt id="SelfLoader"><a class="permalink" href="perl5120delta.html#SelfLoader">#</a><code>SelfLoader</code></dt>
<dd>

<p>Upgraded from version 1.11 to 1.17.</p>

</dd>
<dt id="Storable"><a class="permalink" href="perl5120delta.html#Storable">#</a><code>Storable</code></dt>
<dd>

<p>Upgraded from version 2.18 to 2.22.</p>

</dd>
<dt id="Switch1"><a class="permalink" href="perl5120delta.html#Switch1">#</a><code>Switch</code></dt>
<dd>

<p>Upgraded from version 2.13 to 2.16.</p>

<p>NOTE: <code>Switch</code> is deprecated and may be removed from a future version of Perl.</p>

</dd>
<dt id="Sys::Syslog"><a class="permalink" href="perl5120delta.html#Sys::Syslog">#</a><a id="Sys"></a><code>Sys::Syslog</code></dt>
<dd>

<p>Upgraded from version 0.22 to 0.27.</p>

</dd>
<dt id="Term::ANSIColor"><a class="permalink" href="perl5120delta.html#Term::ANSIColor">#</a><a id="Term"></a><code>Term::ANSIColor</code></dt>
<dd>

<p>Upgraded from version 1.12 to 2.02.</p>

</dd>
<dt id="Term::UI"><a class="permalink" href="perl5120delta.html#Term::UI">#</a><a id="Term1"></a><code>Term::UI</code></dt>
<dd>

<p>Upgraded from version 0.18 to 0.20.</p>

</dd>
<dt id="Test"><a class="permalink" href="perl5120delta.html#Test">#</a><code>Test</code></dt>
<dd>

<p>Upgraded from version 1.25 to 1.25_02.</p>

</dd>
<dt id="Test::Harness"><a class="permalink" href="perl5120delta.html#Test::Harness">#</a><a id="Test1"></a><code>Test::Harness</code></dt>
<dd>

<p>Upgraded from version 2.64 to 3.17.</p>

</dd>
<dt id="Test::Simple"><a class="permalink" href="perl5120delta.html#Test::Simple">#</a><a id="Test2"></a><code>Test::Simple</code></dt>
<dd>

<p>Upgraded from version 0.72 to 0.94.</p>

</dd>
<dt id="Text::Balanced"><a class="permalink" href="perl5120delta.html#Text::Balanced">#</a><a id="Text"></a><code>Text::Balanced</code></dt>
<dd>

<p>Upgraded from version 2.0.0 to 2.02.</p>

</dd>
<dt id="Text::ParseWords"><a class="permalink" href="perl5120delta.html#Text::ParseWords">#</a><a id="Text1"></a><code>Text::ParseWords</code></dt>
<dd>

<p>Upgraded from version 3.26 to 3.27.</p>

</dd>
<dt id="Text::Soundex"><a class="permalink" href="perl5120delta.html#Text::Soundex">#</a><a id="Text2"></a><code>Text::Soundex</code></dt>
<dd>

<p>Upgraded from version 3.03 to 3.03_01.</p>

</dd>
<dt id="Thread::Queue"><a class="permalink" href="perl5120delta.html#Thread::Queue">#</a><a id="Thread"></a><code>Thread::Queue</code></dt>
<dd>

<p>Upgraded from version 2.00 to 2.11.</p>

</dd>
<dt id="Thread::Semaphore"><a class="permalink" href="perl5120delta.html#Thread::Semaphore">#</a><a id="Thread1"></a><code>Thread::Semaphore</code></dt>
<dd>

<p>Upgraded from version 2.01 to 2.09.</p>

</dd>
<dt id="Tie::RefHash"><a class="permalink" href="perl5120delta.html#Tie::RefHash">#</a><a id="Tie"></a><code>Tie::RefHash</code></dt>
<dd>

<p>Upgraded from version 1.37 to 1.38.</p>

</dd>
<dt id="Time::HiRes"><a class="permalink" href="perl5120delta.html#Time::HiRes">#</a><a id="Time"></a><code>Time::HiRes</code></dt>
<dd>

<p>Upgraded from version 1.9711 to 1.9719.</p>

</dd>
<dt id="Time::Local"><a class="permalink" href="perl5120delta.html#Time::Local">#</a><a id="Time1"></a><code>Time::Local</code></dt>
<dd>

<p>Upgraded from version 1.18 to 1.1901_01.</p>

</dd>
<dt id="Time::Piece"><a class="permalink" href="perl5120delta.html#Time::Piece">#</a><a id="Time2"></a><code>Time::Piece</code></dt>
<dd>

<p>Upgraded from version 1.12 to 1.15.</p>

</dd>
<dt id="Unicode::Collate"><a class="permalink" href="perl5120delta.html#Unicode::Collate">#</a><a id="Unicode2"></a><code>Unicode::Collate</code></dt>
<dd>

<p>Upgraded from version 0.52 to 0.52_01.</p>

</dd>
<dt id="Unicode::Normalize"><a class="permalink" href="perl5120delta.html#Unicode::Normalize">#</a><a id="Unicode3"></a><code>Unicode::Normalize</code></dt>
<dd>

<p>Upgraded from version 1.02 to 1.03.</p>

</dd>
<dt id="Win32"><a class="permalink" href="perl5120delta.html#Win32">#</a><code>Win32</code></dt>
<dd>

<p>Upgraded from version 0.34 to 0.39.</p>

</dd>
<dt id="Win32API::File"><a class="permalink" href="perl5120delta.html#Win32API::File">#</a><a id="Win32API"></a><code>Win32API::File</code></dt>
<dd>

<p>Upgraded from version 0.1001_01 to 0.1101.</p>

</dd>
<dt id="XSLoader"><a class="permalink" href="perl5120delta.html#XSLoader">#</a><code>XSLoader</code></dt>
<dd>

<p>Upgraded from version 0.08 to 0.10.</p>

</dd>
</dl>

<h2 id="Removed-Modules-and-Pragmata"><a class="permalink" href="perl5120delta.html#Removed-Modules-and-Pragmata">#</a><a id="Removed"></a>Removed Modules and Pragmata</h2>

<dl>

<dt id="attrs"><a class="permalink" href="perl5120delta.html#attrs">#</a><code>attrs</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 1.02.</p>

</dd>
<dt id="CPAN::API::HOWTO"><a class="permalink" href="perl5120delta.html#CPAN::API::HOWTO">#</a><a id="CPAN1"></a><code>CPAN::API::HOWTO</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was &#39;undef&#39;.</p>

</dd>
<dt id="CPAN::DeferedCode"><a class="permalink" href="perl5120delta.html#CPAN::DeferedCode">#</a><a id="CPAN2"></a><code>CPAN::DeferedCode</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 5.50.</p>

</dd>
<dt id="CPANPLUS::inc"><a class="permalink" href="perl5120delta.html#CPANPLUS::inc">#</a><a id="CPANPLUS2"></a><code>CPANPLUS::inc</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was &#39;undef&#39;.</p>

</dd>
<dt id="DCLsym"><a class="permalink" href="perl5120delta.html#DCLsym">#</a><code>DCLsym</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 1.03.</p>

</dd>
<dt id="ExtUtils::MakeMaker::bytes"><a class="permalink" href="perl5120delta.html#ExtUtils::MakeMaker::bytes">#</a><a id="ExtUtils7"></a><code>ExtUtils::MakeMaker::bytes</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 6.42.</p>

</dd>
<dt id="ExtUtils::MakeMaker::vmsish"><a class="permalink" href="perl5120delta.html#ExtUtils::MakeMaker::vmsish">#</a><a id="ExtUtils8"></a><code>ExtUtils::MakeMaker::vmsish</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 6.42.</p>

</dd>
<dt id="Stdio"><a class="permalink" href="perl5120delta.html#Stdio">#</a><code>Stdio</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 2.3.</p>

</dd>
<dt id="Test::Harness::Assert"><a class="permalink" href="perl5120delta.html#Test::Harness::Assert">#</a><a id="Test3"></a><code>Test::Harness::Assert</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 0.02.</p>

</dd>
<dt id="Test::Harness::Iterator"><a class="permalink" href="perl5120delta.html#Test::Harness::Iterator">#</a><a id="Test4"></a><code>Test::Harness::Iterator</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 0.02.</p>

</dd>
<dt id="Test::Harness::Point"><a class="permalink" href="perl5120delta.html#Test::Harness::Point">#</a><a id="Test5"></a><code>Test::Harness::Point</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 0.01.</p>

</dd>
<dt id="Test::Harness::Results"><a class="permalink" href="perl5120delta.html#Test::Harness::Results">#</a><a id="Test6"></a><code>Test::Harness::Results</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 0.01.</p>

</dd>
<dt id="Test::Harness::Straps"><a class="permalink" href="perl5120delta.html#Test::Harness::Straps">#</a><a id="Test7"></a><code>Test::Harness::Straps</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 0.26_01.</p>

</dd>
<dt id="Test::Harness::Util"><a class="permalink" href="perl5120delta.html#Test::Harness::Util">#</a><a id="Test8"></a><code>Test::Harness::Util</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 0.01.</p>

</dd>
<dt id="XSSymSet"><a class="permalink" href="perl5120delta.html#XSSymSet">#</a><code>XSSymSet</code></dt>
<dd>

<p>Removed from the Perl core. Prior version was 1.1.</p>

</dd>
</dl>

<h2 id="Deprecated-Modules-and-Pragmata"><a class="permalink" href="perl5120delta.html#Deprecated-Modules-and-Pragmata">#</a><a id="Deprecated1"></a>Deprecated Modules and Pragmata</h2>

<p>See <a href="perl5120delta.html#Deprecated-Modules">&quot;Deprecated Modules&quot;</a> above.</p>

<h1 id="Documentation"><a class="permalink" href="perl5120delta.html#Documentation">#</a>Documentation</h1>

<h2 id="New-Documentation"><a class="permalink" href="perl5120delta.html#New-Documentation">#</a><a id="New3"></a>New Documentation</h2>

<ul>

<li><p><a href="perlhaiku.html">perlhaiku</a> contains instructions on how to build perl for the Haiku platform.</p>

</li>
<li><p><a href="perlmroapi.html">perlmroapi</a> describes the new interface for pluggable Method Resolution Orders.</p>

</li>
<li><p><a href="perlperf.html">perlperf</a>, by Richard Foley, provides an introduction to the use of performance and optimization techniques which can be used with particular reference to perl programs.</p>

</li>
<li><p><a href="perlrepository.html">perlrepository</a> describes how to access the perl source using the <i>git</i> version control system.</p>

</li>
<li><p><a href="perlpolicy.html">perlpolicy</a> extends the &quot;Social contract about contributed modules&quot; into the beginnings of a document on Perl porting policies.</p>

</li>
</ul>

<h2 id="Changes-to-Existing-Documentation"><a class="permalink" href="perl5120delta.html#Changes-to-Existing-Documentation">#</a><a id="Changes1"></a>Changes to Existing Documentation</h2>

<ul>

<li><p>The various large <i>Changes*</i> files (which listed every change made to perl over the last 18 years) have been removed, and replaced by a small file, also called <i>Changes</i>, which just explains how that same information may be extracted from the git version control system.</p>

</li>
<li><p><i>Porting/patching.pod</i> has been deleted, as it mainly described interacting with the old Perforce-based repository, which is now obsolete. Information still relevant has been moved to <a href="perlrepository.html">perlrepository</a>.</p>

</li>
<li><p>The syntax <code>unless (EXPR) BLOCK else BLOCK</code> is now documented as valid, as is the syntax <code>unless (EXPR) BLOCK elsif (EXPR) BLOCK ... else BLOCK</code>, although actually using the latter may not be the best idea for the readability of your source code.</p>

</li>
<li><p>Documented -X overloading.</p>

</li>
<li><p>Documented that <code>when()</code> treats specially most of the filetest operators</p>

</li>
<li><p>Documented <code>when</code> as a syntax modifier.</p>

</li>
<li><p>Eliminated &quot;Old Perl threads tutorial&quot;, which described 5005 threads.</p>

<p><i>pod/perlthrtut.pod</i> is the same material reworked for ithreads.</p>

</li>
<li><p>Correct previous documentation: v-strings are not deprecated</p>

<p>With version objects, we need them to use MODULE VERSION syntax. This patch removes the deprecation notice.</p>

</li>
<li><p>Security contact information is now part of <a href="perlsec.html">perlsec</a>.</p>

</li>
<li><p>A significant fraction of the core documentation has been updated to clarify the behavior of Perl&#39;s Unicode handling.</p>

<p>Much of the remaining core documentation has been reviewed and edited for clarity, consistent use of language, and to fix the spelling of Tom Christiansen&#39;s name.</p>

</li>
<li><p>The Pod specification (<a href="perlpodspec.html">perlpodspec</a>) has been updated to bring the specification in line with modern usage already supported by most Pod systems. A parameter string may now follow the format name in a &quot;begin/end&quot; region. Links to URIs with a text description are now allowed. The usage of <code>L&lt;&quot;section&quot;&gt;</code> has been marked as deprecated.</p>

</li>
<li><p><a href="if.html">if.pm</a> has been documented in <a href="perlfunc.html#use">&quot;use&quot; in perlfunc</a> as a means to get conditional loading of modules despite the implicit BEGIN block around <code>use</code>.</p>

</li>
<li><p>The documentation for <code>$1</code> in perlvar.pod has been clarified.</p>

</li>
<li><p><code>\N{U+<i>code point</i>}</code> is now documented.</p>

</li>
</ul>

<h1 id="Selected-Performance-Enhancements"><a class="permalink" href="perl5120delta.html#Selected-Performance-Enhancements">#</a><a id="Selected"></a>Selected Performance Enhancements</h1>

<ul>

<li><p>A new internal cache means that <code>isa()</code> will often be faster.</p>

</li>
<li><p>The implementation of <code>C3</code> Method Resolution Order has been optimised - linearisation for classes with single inheritance is 40% faster. Performance for multiple inheritance is unchanged.</p>

</li>
<li><p>Under <code>use locale</code>, the locale-relevant information is now cached on read-only values, such as the list returned by <code>keys %hash</code>. This makes operations such as <code>sort keys %hash</code> in the scope of <code>use locale</code> much faster.</p>

</li>
<li><p>Empty <code>DESTROY</code> methods are no longer called.</p>

</li>
<li><p><code>Perl_sv_utf8_upgrade()</code> is now faster.</p>

</li>
<li><p><code>keys</code> on empty hash is now faster.</p>

</li>
<li><p><code>if (%foo)</code> has been optimized to be faster than <code>if (keys %foo)</code>.</p>

</li>
<li><p>The string repetition operator (<code>$str x $num</code>) is now several times faster when <code>$str</code> has length one or <code>$num</code> is large.</p>

</li>
<li><p>Reversing an array to itself (as in <code>@a = reverse @a</code>) in void context now happens in-place and is several orders of magnitude faster than it used to be. It will also preserve non-existent elements whenever possible, i.e. for non magical arrays or tied arrays with <code>EXISTS</code> and <code>DELETE</code> methods.</p>

</li>
</ul>

<h1 id="Installation-and-Configuration-Improvements"><a class="permalink" href="perl5120delta.html#Installation-and-Configuration-Improvements">#</a><a id="Installation"></a>Installation and Configuration Improvements</h1>

<ul>

<li><p><a href="perlapi.html">perlapi</a>, <a href="perlintern.html">perlintern</a>, <a href="perlmodlib.html">perlmodlib</a> and <a href="perltoc.html">perltoc</a> are now all generated at build time, rather than being shipped as part of the release.</p>

</li>
<li><p>If <code>vendorlib</code> and <code>vendorarch</code> are the same, then they are only added to <code>@INC</code> once.</p>

</li>
<li><p><code>$Config{usedevel}</code> and the C-level <code>PERL_USE_DEVEL</code> are now defined if perl is built with <code>-Dusedevel</code>.</p>

</li>
<li><p><i>Configure</i> will enable use of <code>-fstack-protector</code>, to provide protection against stack-smashing attacks, if the compiler supports it.</p>

</li>
<li><p><i>Configure</i> will now determine the correct prototypes for re-entrant functions and for <code>gconvert</code> if you are using a C++ compiler rather than a C compiler.</p>

</li>
<li><p>On Unix, if you build from a tree containing a git repository, the configuration process will note the commit hash you have checked out, for display in the output of <code>perl -v</code> and <code>perl -V</code>. Unpushed local commits are automatically added to the list of local patches displayed by <code>perl -V</code>.</p>

</li>
<li><p>Perl now supports SystemTap&#39;s <code>dtrace</code> compatibility layer and an issue with linking <code>miniperl</code> has been fixed in the process.</p>

</li>
<li><p>perldoc now uses <code>less -R</code> instead of <code>less</code> for improved behaviour in the face of <code>groff</code>&#39;s new usage of ANSI escape codes.</p>

</li>
<li><p><code>perl -V</code> now reports use of the compile-time options <code>USE_PERL_ATOF</code> and <code>USE_ATTRIBUTES_FOR_PERLIO</code>.</p>

</li>
<li><p>As part of the flattening of <i>ext</i>, all extensions on all platforms are built by <i>make_ext.pl</i>. This replaces the Unix-specific <i>ext/util/make_ext</i>, VMS-specific <i>make_ext.com</i> and Win32-specific <i>win32/buildext.pl</i>.</p>

</li>
</ul>

<h1 id="Internal-Changes"><a class="permalink" href="perl5120delta.html#Internal-Changes">#</a><a id="Internal"></a>Internal Changes</h1>

<p>Each release of Perl sees numerous internal changes which shouldn&#39;t affect day to day usage but may still be notable for developers working with Perl&#39;s source code.</p>

<ul>

<li><p>The J.R.R. Tolkien quotes at the head of C source file have been checked and proper citations added, thanks to a patch from Tom Christiansen.</p>

</li>
<li><p>The internal structure of the dual-life modules traditionally found in the <i>lib/</i> and <i>ext/</i> directories in the perl source has changed significantly. Where possible, dual-lifed modules have been extracted from <i>lib/</i> and <i>ext/</i>.</p>

<p>Dual-lifed modules maintained by Perl&#39;s developers as part of the Perl core now live in <i>dist/</i>. Dual-lifed modules maintained primarily on CPAN now live in <i>cpan/</i>. When reporting a bug in a module located under <i>cpan/</i>, please send your bug report directly to the module&#39;s bug tracker or author, rather than Perl&#39;s bug tracker.</p>

</li>
<li><p><code>\N{...}</code> now compiles better, always forces UTF-8 internal representation</p>

<p>Perl&#39;s developers have fixed several problems with the recognition of <code>\N{...}</code> constructs. As part of this, perl will store any scalar or regex containing <code>\N{<i>name</i>}</code> or <code>\N{U+<i>code point</i>}</code> in its definition in UTF-8 format. (This was true previously for all occurrences of <code>\N{<i>name</i>}</code> that did not use a custom translator, but now it&#39;s always true.)</p>

</li>
<li><p>Perl_magic_setmglob now knows about globs, fixing RT #71254.</p>

</li>
<li><p><code>SVt_RV</code> no longer exists. RVs are now stored in IVs.</p>

</li>
<li><p><code>Perl_vcroak()</code> now accepts a null first argument. In addition, a full audit was made of the &quot;not NULL&quot; compiler annotations, and those for several other internal functions were corrected.</p>

</li>
<li><p>New macros <code>dSAVEDERRNO</code>, <code>dSAVE_ERRNO</code>, <code>SAVE_ERRNO</code>, <code>RESTORE_ERRNO</code> have been added to formalise the temporary saving of the <code>errno</code> variable.</p>

</li>
<li><p>The function <code>Perl_sv_insert_flags</code> has been added to augment <code>Perl_sv_insert</code>.</p>

</li>
<li><p>The function <code>Perl_newSV_type(type)</code> has been added, equivalent to <code>Perl_newSV()</code> followed by <code>Perl_sv_upgrade(type)</code>.</p>

</li>
<li><p>The function <code>Perl_newSVpvn_flags()</code> has been added, equivalent to <code>Perl_newSVpvn()</code> and then performing the action relevant to the flag.</p>

<p>Two flag bits are currently supported.</p>

<ul>

<li><p><code>SVf_UTF8</code> will call <code>SvUTF8_on()</code> for you. (Note that this does not convert a sequence of ISO 8859-1 characters to UTF-8). A wrapper, <code>newSVpvn_utf8()</code> is available for this.</p>

</li>
<li><p><code>SVs_TEMP</code> now calls <code>Perl_sv_2mortal()</code> on the new SV.</p>

</li>
</ul>

<p>There is also a wrapper that takes constant strings, <code>newSVpvs_flags()</code>.</p>

</li>
<li><p>The function <code>Perl_croak_xs_usage</code> has been added as a wrapper to <code>Perl_croak</code>.</p>

</li>
<li><p>Perl now exports the functions <code>PerlIO_find_layer</code> and <code>PerlIO_list_alloc</code>.</p>

</li>
<li><p><code>PL_na</code> has been exterminated from the core code, replaced by local STRLEN temporaries, or <code>*_nolen()</code> calls. Either approach is faster than <code>PL_na</code>, which is a pointer dereference into the interpreter structure under ithreads, and a global variable otherwise.</p>

</li>
<li><p><code>Perl_mg_free()</code> used to leave freed memory accessible via <code>SvMAGIC()</code> on the scalar. It now updates the linked list to remove each piece of magic as it is freed.</p>

</li>
<li><p>Under ithreads, the regex in <code>PL_reg_curpm</code> is now reference counted. This eliminates a lot of hackish workarounds to cope with it not being reference counted.</p>

</li>
<li><p><code>Perl_mg_magical()</code> would sometimes incorrectly turn on <code>SvRMAGICAL()</code>. This has been fixed.</p>

</li>
<li><p>The <i>public</i> IV and NV flags are now not set if the string value has trailing &quot;garbage&quot;. This behaviour is consistent with not setting the public IV or NV flags if the value is out of range for the type.</p>

</li>
<li><p>Uses of <code>Nullav</code>, <code>Nullcv</code>, <code>Nullhv</code>, <code>Nullop</code>, <code>Nullsv</code> etc have been replaced by <code>NULL</code> in the core code, and non-dual-life modules, as <code>NULL</code> is clearer to those unfamiliar with the core code.</p>

</li>
<li><p>A macro <code>MUTABLE_PTR(p)</code> has been added, which on (non-pedantic) gcc will not cast away <code>const</code>, returning a <code>void *</code>. Macros <code>MUTABLE_SV(av)</code>, <code>MUTABLE_SV(cv)</code> etc build on this, casting to <code>AV *</code> etc without casting away <code>const</code>. This allows proper compile-time auditing of <code>const</code> correctness in the core, and helped picked up some errors (now fixed).</p>

</li>
<li><p>Macros <code>mPUSHs()</code> and <code>mXPUSHs()</code> have been added, for pushing SVs on the stack and mortalizing them.</p>

</li>
<li><p>Use of the private structure <code>mro_meta</code> has changed slightly. Nothing outside the core should be accessing this directly anyway.</p>

</li>
<li><p>A new tool, <i>Porting/expand-macro.pl</i> has been added, that allows you to view how a C preprocessor macro would be expanded when compiled. This is handy when trying to decode the macro hell that is the perl guts.</p>

</li>
</ul>

<h1 id="Testing"><a class="permalink" href="perl5120delta.html#Testing">#</a>Testing</h1>

<h2 id="Testing-improvements"><a class="permalink" href="perl5120delta.html#Testing-improvements">#</a><a id="Testing1"></a>Testing improvements</h2>

<dl>

<dt id="Parallel-tests"><a class="permalink" href="perl5120delta.html#Parallel-tests">#</a><a id="Parallel"></a>Parallel tests</dt>
<dd>

<p>The core distribution can now run its regression tests in parallel on Unix-like platforms. Instead of running <code>make test</code>, set <code>TEST_JOBS</code> in your environment to the number of tests to run in parallel, and run <code>make test_harness</code>. On a Bourne-like shell, this can be done as</p>

<pre><code class="plaintext">TEST_JOBS=3 make test_harness  # Run 3 tests in parallel</code></pre>

<p>An environment variable is used, rather than parallel make itself, because <a href="./TAP::Harness.html">TAP::Harness</a> needs to be able to schedule individual non-conflicting test scripts itself, and there is no standard interface to <code>make</code> utilities to interact with their job schedulers.</p>

<p>Note that currently some test scripts may fail when run in parallel (most notably <code>ext/IO/t/io_dir.t</code>). If necessary run just the failing scripts again sequentially and see if the failures go away.</p>

</dd>
<dt id="Test-harness-flexibility"><a class="permalink" href="perl5120delta.html#Test-harness-flexibility">#</a><a id="Test9"></a>Test harness flexibility</dt>
<dd>

<p>It&#39;s now possible to override <code>PERL5OPT</code> and friends in <i>t/TEST</i></p>

</dd>
<dt id="Test-watchdog"><a class="permalink" href="perl5120delta.html#Test-watchdog">#</a><a id="Test10"></a>Test watchdog</dt>
<dd>

<p>Several tests that have the potential to hang forever if they fail now incorporate a &quot;watchdog&quot; functionality that will kill them after a timeout, which helps ensure that <code>make test</code> and <code>make test_harness</code> run to completion automatically.</p>

</dd>
</dl>

<h2 id="New-Tests"><a class="permalink" href="perl5120delta.html#New-Tests">#</a><a id="New4"></a>New Tests</h2>

<p>Perl&#39;s developers have added a number of new tests to the core. In addition to the items listed below, many modules updated from CPAN incorporate new tests.</p>

<ul>

<li><p>Significant cleanups to core tests to ensure that language and interpreter features are not used before they&#39;re tested.</p>

</li>
<li><p><code>make test_porting</code> now runs a number of important pre-commit checks which might be of use to anyone working on the Perl core.</p>

</li>
<li><p><i>t/porting/podcheck.t</i> automatically checks the well-formedness of POD found in all .pl, .pm and .pod files in the <i>MANIFEST</i>, other than in dual-lifed modules which are primarily maintained outside the Perl core.</p>

</li>
<li><p><i>t/porting/manifest.t</i> now tests that all files listed in MANIFEST are present.</p>

</li>
<li><p><i>t/op/while_readdir.t</i> tests that a bare readdir in while loop sets $_.</p>

</li>
<li><p><i>t/comp/retainedlines.t</i> checks that the debugger can retain source lines from <code>eval</code>.</p>

</li>
<li><p><i>t/io/perlio_fail.t</i> checks that bad layers fail.</p>

</li>
<li><p><i>t/io/perlio_leaks.t</i> checks that PerlIO layers are not leaking.</p>

</li>
<li><p><i>t/io/perlio_open.t</i> checks that certain special forms of open work.</p>

</li>
<li><p><i>t/io/perlio.t</i> includes general PerlIO tests.</p>

</li>
<li><p><i>t/io/pvbm.t</i> checks that there is no unexpected interaction between the internal types <code>PVBM</code> and <code>PVGV</code>.</p>

</li>
<li><p><i>t/mro/package_aliases.t</i> checks that mro works properly in the presence of aliased packages.</p>

</li>
<li><p><i>t/op/dbm.t</i> tests <code>dbmopen</code> and <code>dbmclose</code>.</p>

</li>
<li><p><i>t/op/index_thr.t</i> tests the interaction of <code>index</code> and threads.</p>

</li>
<li><p><i>t/op/pat_thr.t</i> tests the interaction of esoteric patterns and threads.</p>

</li>
<li><p><i>t/op/qr_gc.t</i> tests that <code>qr</code> doesn&#39;t leak.</p>

</li>
<li><p><i>t/op/reg_email_thr.t</i> tests the interaction of regex recursion and threads.</p>

</li>
<li><p><i>t/op/regexp_qr_embed_thr.t</i> tests the interaction of patterns with embedded <code>qr//</code> and threads.</p>

</li>
<li><p><i>t/op/regexp_unicode_prop.t</i> tests Unicode properties in regular expressions.</p>

</li>
<li><p><i>t/op/regexp_unicode_prop_thr.t</i> tests the interaction of Unicode properties and threads.</p>

</li>
<li><p><i>t/op/reg_nc_tie.t</i> tests the tied methods of <code>Tie::Hash::NamedCapture</code>.</p>

</li>
<li><p><i>t/op/reg_posixcc.t</i> checks that POSIX character classes behave consistently.</p>

</li>
<li><p><i>t/op/re.t</i> checks that exportable <code>re</code> functions in <i>universal.c</i> work.</p>

</li>
<li><p><i>t/op/setpgrpstack.t</i> checks that <code>setpgrp</code> works.</p>

</li>
<li><p><i>t/op/substr_thr.t</i> tests the interaction of <code>substr</code> and threads.</p>

</li>
<li><p><i>t/op/upgrade.t</i> checks that upgrading and assigning scalars works.</p>

</li>
<li><p><i>t/uni/lex_utf8.t</i> checks that Unicode in the lexer works.</p>

</li>
<li><p><i>t/uni/tie.t</i> checks that Unicode and <code>tie</code> work.</p>

</li>
<li><p><i>t/comp/final_line_num.t</i> tests whether line numbers are correct at EOF</p>

</li>
<li><p><i>t/comp/form_scope.t</i> tests format scoping.</p>

</li>
<li><p><i>t/comp/line_debug.t</i> tests whether <code>@{&quot;_&lt;$file&quot;}</code> works.</p>

</li>
<li><p><i>t/op/filetest_t.t</i> tests if -t file test works.</p>

</li>
<li><p><i>t/op/qr.t</i> tests <code>qr</code>.</p>

</li>
<li><p><i>t/op/utf8cache.t</i> tests malfunctions of the utf8 cache.</p>

</li>
<li><p><i>t/re/uniprops.t</i> test unicodes <code>\p{}</code> regex constructs.</p>

</li>
<li><p><i>t/op/filehandle.t</i> tests some suitably portable filetest operators to check that they work as expected, particularly in the light of some internal changes made in how filehandles are blessed.</p>

</li>
<li><p><i>t/op/time_loop.t</i> tests that unix times greater than <code>2**63</code>, which can now be handed to <code>gmtime</code> and <code>localtime</code>, do not cause an internal overflow or an excessively long loop.</p>

</li>
</ul>

<h1 id="New-or-Changed-Diagnostics"><a class="permalink" href="perl5120delta.html#New-or-Changed-Diagnostics">#</a><a id="New5"></a>New or Changed Diagnostics</h1>

<h2 id="New-Diagnostics"><a class="permalink" href="perl5120delta.html#New-Diagnostics">#</a><a id="New6"></a>New Diagnostics</h2>

<ul>

<li><p>SV allocation tracing has been added to the diagnostics enabled by <code>-Dm</code>. The tracing can alternatively output via the <code>PERL_MEM_LOG</code> mechanism, if that was enabled when the <i>perl</i> binary was compiled.</p>

</li>
<li><p>Smartmatch resolution tracing has been added as a new diagnostic. Use <code>-DM</code> to enable it.</p>

</li>
<li><p>A new debugging flag <code>-DB</code> now dumps subroutine definitions, leaving <code>-Dx</code> for its original purpose of dumping syntax trees.</p>

</li>
<li><p>Perl 5.12 provides a number of new diagnostic messages to help you write better code. See <a href="perldiag.html">perldiag</a> for details of these new messages.</p>

<ul>

<li><p><code>Bad plugin affecting keyword &#39;%s&#39;</code></p>

</li>
<li><p><code>gmtime(%.0f) too large</code></p>

</li>
<li><p><code>Lexing code attempted to stuff non-Latin-1 character into Latin-1 input</code></p>

</li>
<li><p><code>Lexing code internal error (%s)</code></p>

</li>
<li><p><code>localtime(%.0f) too large</code></p>

</li>
<li><p><code>Overloaded dereference did not return a reference</code></p>

</li>
<li><p><code>Overloaded qr did not return a REGEXP</code></p>

</li>
<li><p><code>Perl_pmflag() is deprecated, and will be removed from the XS API</code></p>

</li>
<li><p><code>lvalue attribute ignored after the subroutine has been defined</code></p>

<p>This new warning is issued when one attempts to mark a subroutine as lvalue after it has been defined.</p>

</li>
<li><p>Perl now warns you if <code>++</code> or <code>--</code> are unable to change the value because it&#39;s beyond the limit of representation.</p>

<p>This uses a new warnings category: &quot;imprecision&quot;.</p>

</li>
<li><p><code>lc</code>, <code>uc</code>, <code>lcfirst</code>, and <code>ucfirst</code> warn when passed undef.</p>

</li>
<li><p><code>Show constant in &quot;Useless use of a constant in void context&quot;</code></p>

</li>
<li><p><code>Prototype after &#39;%s&#39;</code></p>

</li>
<li><p><code>panic: sv_chop %s</code></p>

<p>This new fatal error occurs when the C routine <code>Perl_sv_chop()</code> was passed a position that is not within the scalar&#39;s string buffer. This could be caused by buggy XS code, and at this point recovery is not possible.</p>

</li>
<li><p>The fatal error <code>Malformed UTF-8 returned by \N</code> is now produced if the <code>charnames</code> handler returns malformed UTF-8.</p>

</li>
<li><p>If an unresolved named character or sequence was encountered when compiling a regex pattern then the fatal error <code>\N{NAME} must be resolved by the lexer</code> is now produced. This can happen, for example, when using a single-quotish context like <code>$re = &#39;\N{SPACE}&#39;; /$re/;</code>. See <a href="perldiag.html">perldiag</a> for more examples of how the lexer can get bypassed.</p>

</li>
<li><p><code>Invalid hexadecimal number in \N{U+...}</code> is a new fatal error triggered when the character constant represented by <code>...</code> is not a valid hexadecimal number.</p>

</li>
<li><p>The new meaning of <code>\N</code> as <code>[^\n]</code> is not valid in a bracketed character class, just like <code>.</code> in a character class loses its special meaning, and will cause the fatal error <code>\N in a character class must be a named character: \N{...}</code>.</p>

</li>
<li><p>The rules on what is legal for the <code>...</code> in <code>\N{...}</code> have been tightened up so that unless the <code>...</code> begins with an alphabetic character and continues with a combination of alphanumerics, dashes, spaces, parentheses or colons then the warning <code>Deprecated character(s) in \N{...} starting at &#39;%s&#39;</code> is now issued.</p>

</li>
<li><p>The warning <code>Using just the first characters returned by \N{}</code> will be issued if the <code>charnames</code> handler returns a sequence of characters which exceeds the limit of the number of characters that can be used. The message will indicate which characters were used and which were discarded.</p>

</li>
</ul>

</li>
</ul>

<h2 id="Changed-Diagnostics"><a class="permalink" href="perl5120delta.html#Changed-Diagnostics">#</a><a id="Changed"></a>Changed Diagnostics</h2>

<p>A number of existing diagnostic messages have been improved or corrected:</p>

<ul>

<li><p>A new warning category <code>illegalproto</code> allows finer-grained control of warnings around function prototypes.</p>

<p>The two warnings:</p>

<dl>

<dt id="Illegal-character-in-prototype-for-%s-:-%s"><a class="permalink" href="perl5120delta.html#Illegal-character-in-prototype-for-%25s-:-%25s">#</a><a id="Illegal"></a><a id="Illegal-character-in-prototype-for-s-:-s"></a><code>Illegal character in prototype for %s : %s</code></dt>
<dd>

</dd>
<dt id="Prototype-after-&#39;%c&#39;-for-%s-:-%s"><a class="permalink" href="perl5120delta.html#Prototype-after-&#39;%25c&#39;-for-%25s-:-%25s">#</a><a id="Prototype"></a><a id="Prototype-after-c-for-s-:-s"></a><code>Prototype after &#39;%c&#39; for %s : %s</code></dt>
<dd>

</dd>
</dl>

<p>have been moved from the <code>syntax</code> top-level warnings category into a new first-level category, <code>illegalproto</code>. These two warnings are currently the only ones emitted during parsing of an invalid/illegal prototype, so one can now use</p>

<pre><code>no warnings &#39;illegalproto&#39;;</code></pre>

<p>to suppress only those, but not other syntax-related warnings. Warnings where prototypes are changed, ignored, or not met are still in the <code>prototype</code> category as before.</p>

</li>
<li><p><code>Deep recursion on subroutine &quot;%s&quot;</code></p>

<p>It is now possible to change the depth threshold for this warning from the default of 100, by recompiling the <i>perl</i> binary, setting the C pre-processor macro <code>PERL_SUB_DEPTH_WARN</code> to the desired value.</p>

</li>
<li><p><code>Illegal character in prototype</code> warning is now more precise when reporting illegal characters after _</p>

</li>
<li><p>mro merging error messages are now very similar to those produced by <a href="./Algorithm::C3.html">Algorithm::C3</a>.</p>

</li>
<li><p>Amelioration of the error message &quot;Unrecognized character %s in column %d&quot;</p>

<p>Changes the error message to &quot;Unrecognized character %s; marked by &lt;-- HERE after %s&lt;-- HERE near column %d&quot;. This should make it a little simpler to spot and correct the suspicious character.</p>

</li>
<li><p>Perl now explicitly points to <code>$.</code> when it causes an uninitialized warning for ranges in scalar context.</p>

</li>
<li><p><code>split</code> now warns when called in void context.</p>

</li>
<li><p><code>printf</code>-style functions called with too few arguments will now issue the warning <code>&quot;Missing argument in %s&quot;</code> [perl #71000]</p>

</li>
<li><p>Perl now properly returns a syntax error instead of segfaulting if <code>each</code>, <code>keys</code>, or <code>values</code> is used without an argument.</p>

</li>
<li><p><code>tell()</code> now fails properly if called without an argument and when no previous file was read.</p>

<p><code>tell()</code> now returns <code>-1</code>, and sets errno to <code>EBADF</code>, thus restoring the 5.8.x behaviour.</p>

</li>
<li><p><code>overload</code> no longer implicitly unsets fallback on repeated &#39;use overload&#39; lines.</p>

</li>
<li><p>POSIX::strftime() can now handle Unicode characters in the format string.</p>

</li>
<li><p>The <code>syntax</code> category was removed from 5 warnings that should only be in <code>deprecated</code>.</p>

</li>
<li><p>Three fatal <code>pack</code>/<code>unpack</code> error messages have been normalized to <code>panic: %s</code></p>

</li>
<li><p><code>Unicode character is illegal</code> has been rephrased to be more accurate</p>

<p>It now reads <code>Unicode non-character is illegal in interchange</code> and the perldiag documentation has been expanded a bit.</p>

</li>
<li><p>Currently, all but the first of the several characters that the <code>charnames</code> handler may return are discarded when used in a regular expression pattern bracketed character class. If this happens then the warning <code>Using just the first character returned by \N{} in character class</code> will be issued.</p>

</li>
<li><p>The warning <code>Missing right brace on \N{} or unescaped left brace after \N. Assuming the latter</code> will be issued if Perl encounters a <code>\N{</code> but doesn&#39;t find a matching <code>}</code>. In this case Perl doesn&#39;t know if it was mistakenly omitted, or if &quot;match non-newline&quot; followed by &quot;match a <code>{</code>&quot; was desired. It assumes the latter because that is actually a valid interpretation as written, unlike the other case. If you meant the former, you need to add the matching right brace. If you did mean the latter, you can silence this warning by writing instead <code>\N\{</code>.</p>

</li>
<li><p><code>gmtime</code> and <code>localtime</code> called with numbers smaller than they can reliably handle will now issue the warnings <code>gmtime(%.0f) too small</code> and <code>localtime(%.0f) too small</code>.</p>

</li>
</ul>

<p>The following diagnostic messages have been removed:</p>

<ul>

<li><p><code>Runaway format</code></p>

</li>
<li><p><code>Can&#39;t locate package %s for the parents of %s</code></p>

<p>In general this warning it only got produced in conjunction with other warnings, and removing it allowed an ISA lookup optimisation to be added.</p>

</li>
<li><p><code>v-string in use/require is non-portable</code></p>

</li>
</ul>

<h1 id="Utility-Changes"><a class="permalink" href="perl5120delta.html#Utility-Changes">#</a><a id="Utility"></a>Utility Changes</h1>

<ul>

<li><p><i>h2ph</i> now looks in <code>include-fixed</code> too, which is a recent addition to gcc&#39;s search path.</p>

</li>
<li><p><i>h2xs</i> no longer incorrectly treats enum values like macros. It also now handles C++ style comments (<code>//</code>) properly in enums.</p>

</li>
<li><p><i>perl5db.pl</i> now supports <code>LVALUE</code> subroutines. Additionally, the debugger now correctly handles proxy constant subroutines, and subroutine stubs.</p>

</li>
<li><p><i>perlbug</i> now uses <code>%Module::CoreList::bug_tracker</code> to print out upstream bug tracker URLs. If a user identifies a particular module as the topic of their bug report and we&#39;re able to divine the URL for its upstream bug tracker, perlbug now provide a message to the user explaining that the core copies the CPAN version directly, and provide the URL for reporting the bug directly to the upstream author.</p>

<p><i>perlbug</i> no longer reports &quot;Message sent&quot; when it hasn&#39;t actually sent the message</p>

</li>
<li><p><i>perlthanks</i> is a new utility for sending non-bug-reports to the authors and maintainers of Perl. Getting nothing but bug reports can become a bit demoralising. If Perl 5.12 works well for you, please try out <i>perlthanks</i>. It will make the developers smile.</p>

</li>
<li><p>Perl&#39;s developers have fixed bugs in <i>a2p</i> having to do with the <code>match()</code> operator in list context. Additionally, <i>a2p</i> no longer generates code that uses the <code>$[</code> variable.</p>

</li>
</ul>

<h1 id="Selected-Bug-Fixes"><a class="permalink" href="perl5120delta.html#Selected-Bug-Fixes">#</a><a id="Selected1"></a>Selected Bug Fixes</h1>

<ul>

<li><p>U+0FFFF is now a legal character in regular expressions.</p>

</li>
<li><p>pp_qr now always returns a new regexp SV. Resolves RT #69852.</p>

<p>Instead of returning a(nother) reference to the (pre-compiled) regexp in the optree, use reg_temp_copy() to create a copy of it, and return a reference to that. This resolves issues about Regexp::DESTROY not being called in a timely fashion (the original bug tracked by RT #69852), as well as bugs related to blessing regexps, and of assigning to regexps, as described in correspondence added to the ticket.</p>

<p>It transpires that we also need to undo the SvPVX() sharing when ithreads cloning a Regexp SV, because mother_re is set to NULL, instead of a cloned copy of the mother_re. This change might fix bugs with regexps and threads in certain other situations, but as yet neither tests nor bug reports have indicated any problems, so it might not actually be an edge case that it&#39;s possible to reach.</p>

</li>
<li><p>Several compilation errors and segfaults when perl was built with <code>-Dmad</code> were fixed.</p>

</li>
<li><p>Fixes for lexer API changes in 5.11.2 which broke NYTProf&#39;s savesrc option.</p>

</li>
<li><p><code>-t</code> should only return TRUE for file handles connected to a TTY</p>

<p>The Microsoft C version of <code>isatty()</code> returns TRUE for all character mode devices, including the <i>/dev/null</i>-style &quot;nul&quot; device and printers like &quot;lpt1&quot;.</p>

</li>
<li><p>Fixed a regression caused by commit fafafbaf which caused a panic during parameter passing [perl #70171]</p>

</li>
<li><p>On systems which in-place edits without backup files, -i&#39;*&#39; now works as the documentation says it does [perl #70802]</p>

</li>
<li><p>Saving and restoring magic flags no longer loses readonly flag.</p>

</li>
<li><p>The malformed syntax <code>grep EXPR LIST</code> (note the missing comma) no longer causes abrupt and total failure.</p>

</li>
<li><p>Regular expressions compiled with <code>qr{}</code> literals properly set <code>$&#39;</code> when matching again.</p>

</li>
<li><p>Using named subroutines with <code>sort</code> should no longer lead to bus errors [perl #71076]</p>

</li>
<li><p>Numerous bugfixes catch small issues caused by the recently-added Lexer API.</p>

</li>
<li><p>Smart match against <code>@_</code> sometimes gave false negatives. [perl #71078]</p>

</li>
<li><p><code>$@</code> may now be assigned a read-only value (without error or busting the stack).</p>

</li>
<li><p><code>sort</code> called recursively from within an active comparison subroutine no longer causes a bus error if run multiple times. [perl #71076]</p>

</li>
<li><p>Tie::Hash::NamedCapture::* will not abort if passed bad input (RT #71828)</p>

</li>
<li><p>@_ and $_ no longer leak under threads (RT #34342 and #41138, also #70602, #70974)</p>

</li>
<li><p><code>-I</code> on shebang line now adds directories in front of @INC as documented, and as does <code>-I</code> when specified on the command-line.</p>

</li>
<li><p><code>kill</code> is now fatal when called on non-numeric process identifiers. Previously, an <code>undef</code> process identifier would be interpreted as a request to kill process 0, which would terminate the current process group on POSIX systems. Since process identifiers are always integers, killing a non-numeric process is now fatal.</p>

</li>
<li><p>5.10.0 inadvertently disabled an optimisation, which caused a measurable performance drop in list assignment, such as is often used to assign function parameters from <code>@_</code>. The optimisation has been re-instated, and the performance regression fixed. (This fix is also present in 5.10.1)</p>

</li>
<li><p>Fixed memory leak on <code>while (1) { map 1, 1 }</code> [RT #53038].</p>

</li>
<li><p>Some potential coredumps in PerlIO fixed [RT #57322,54828].</p>

</li>
<li><p>The debugger now works with lvalue subroutines.</p>

</li>
<li><p>The debugger&#39;s <code>m</code> command was broken on modules that defined constants [RT #61222].</p>

</li>
<li><p><code>crypt</code> and string complement could return tainted values for untainted arguments [RT #59998].</p>

</li>
<li><p>The <code>-i</code><i>.suffix</i> command-line switch now recreates the file using restricted permissions, before changing its mode to match the original file. This eliminates a potential race condition [RT #60904].</p>

</li>
<li><p>On some Unix systems, the value in <code>$?</code> would not have the top bit set (<code>$? &amp; 128</code>) even if the child core dumped.</p>

</li>
<li><p>Under some circumstances, <code>$^R</code> could incorrectly become undefined [RT #57042].</p>

</li>
<li><p>In the XS API, various hash functions, when passed a pre-computed hash where the key is UTF-8, might result in an incorrect lookup.</p>

</li>
<li><p>XS code including <i>XSUB.h</i> before <i>perl.h</i> gave a compile-time error [RT #57176].</p>

</li>
<li><p><code>$object-&gt;isa(&#39;Foo&#39;)</code> would report false if the package <code>Foo</code> didn&#39;t exist, even if the object&#39;s <code>@ISA</code> contained <code>Foo</code>.</p>

</li>
<li><p>Various bugs in the new-to 5.10.0 mro code, triggered by manipulating <code>@ISA</code>, have been found and fixed.</p>

</li>
<li><p>Bitwise operations on references could crash the interpreter, e.g. <code>$x=\$y; $x |= &quot;foo&quot;</code> [RT #54956].</p>

</li>
<li><p>Patterns including alternation might be sensitive to the internal UTF-8 representation, e.g.</p>

<pre><code>my $byte = chr(192);
my $utf8 = chr(192); utf8::upgrade($utf8);
$utf8 =~ /$byte|X}/i;	# failed in 5.10.0</code></pre>

</li>
<li><p>Within UTF8-encoded Perl source files (i.e. where <code>use utf8</code> is in effect), double-quoted literal strings could be corrupted where a <code>\xNN</code>, <code>\0NNN</code> or <code>\N{}</code> is followed by a literal character with ordinal value greater than 255 [RT #59908].</p>

</li>
<li><p><code>B::Deparse</code> failed to correctly deparse various constructs: <code>readpipe STRING</code> [RT #62428], <code>CORE::require(STRING)</code> [RT #62488], <code>sub foo(_)</code> [RT #62484].</p>

</li>
<li><p>Using <code>setpgrp</code> with no arguments could corrupt the perl stack.</p>

</li>
<li><p>The block form of <code>eval</code> is now specifically trappable by <code>Safe</code> and <code>ops</code>. Previously it was erroneously treated like string <code>eval</code>.</p>

</li>
<li><p>In 5.10.0, the two characters <code>[~</code> were sometimes parsed as the smart match operator (<code>~~</code>) [RT #63854].</p>

</li>
<li><p>In 5.10.0, the <code>*</code> quantifier in patterns was sometimes treated as <code>{0,32767}</code> [RT #60034, #60464]. For example, this match would fail:</p>

<pre><code class="plaintext">(&quot;ab&quot; x 32768) =~ /^(ab)*$/</code></pre>

</li>
<li><p><code>shmget</code> was limited to a 32 bit segment size on a 64 bit OS [RT #63924].</p>

</li>
<li><p>Using <code>next</code> or <code>last</code> to exit a <code>given</code> block no longer produces a spurious warning like the following:</p>

<pre><code class="plaintext">Exiting given via last at foo.pl line 123</code></pre>

</li>
<li><p>Assigning a format to a glob could corrupt the format; e.g.:</p>

<pre><code>*bar=*foo{FORMAT}; # foo format now bad</code></pre>

</li>
<li><p>Attempting to coerce a typeglob to a string or number could cause an assertion failure. The correct error message is now generated, <code>Can&#39;t coerce GLOB to <i>$type</i></code>.</p>

</li>
<li><p>Under <code>use filetest &#39;access&#39;</code>, <code>-x</code> was using the wrong access mode. This has been fixed [RT #49003].</p>

</li>
<li><p><code>length</code> on a tied scalar that returned a Unicode value would not be correct the first time. This has been fixed.</p>

</li>
<li><p>Using an array <code>tie</code> inside in array <code>tie</code> could SEGV. This has been fixed. [RT #51636]</p>

</li>
<li><p>A race condition inside <code>PerlIOStdio_close()</code> has been identified and fixed. This used to cause various threading issues, including SEGVs.</p>

</li>
<li><p>In <code>unpack</code>, the use of <code>()</code> groups in scalar context was internally placing a list on the interpreter&#39;s stack, which manifested in various ways, including SEGVs. This is now fixed [RT #50256].</p>

</li>
<li><p>Magic was called twice in <code>substr</code>, <code>\&amp;$x</code>, <code>tie $x, $m</code> and <code>chop</code>. These have all been fixed.</p>

</li>
<li><p>A 5.10.0 optimisation to clear the temporary stack within the implicit loop of <code>s///ge</code> has been reverted, as it turned out to be the cause of obscure bugs in seemingly unrelated parts of the interpreter [commit ef0d4e17921ee3de].</p>

</li>
<li><p>The line numbers for warnings inside <code>elsif</code> are now correct.</p>

</li>
<li><p>The <code>..</code> operator now works correctly with ranges whose ends are at or close to the values of the smallest and largest integers.</p>

</li>
<li><p><code>binmode STDIN, &#39;:raw&#39;</code> could lead to segmentation faults on some platforms. This has been fixed [RT #54828].</p>

</li>
<li><p>An off-by-one error meant that <code>index $str, ...</code> was effectively being executed as <code>index &quot;$str\0&quot;, ...</code>. This has been fixed [RT #53746].</p>

</li>
<li><p>Various leaks associated with named captures in regexes have been fixed [RT #57024].</p>

</li>
<li><p>A weak reference to a hash would leak. This was affecting <code>DBI</code> [RT #56908].</p>

</li>
<li><p>Using (?|) in a regex could cause a segfault [RT #59734].</p>

</li>
<li><p>Use of a UTF-8 <code>tr//</code> within a closure could cause a segfault [RT #61520].</p>

</li>
<li><p>Calling <code>Perl_sv_chop()</code> or otherwise upgrading an SV could result in an unaligned 64-bit access on the SPARC architecture [RT #60574].</p>

</li>
<li><p>In the 5.10.0 release, <code>inc_version_list</code> would incorrectly list <code>5.10.*</code> after <code>5.8.*</code>; this affected the <code>@INC</code> search order [RT #67628].</p>

</li>
<li><p>In 5.10.0, <code>pack &quot;a*&quot;, $tainted_value</code> returned a non-tainted value [RT #52552].</p>

</li>
<li><p>In 5.10.0, <code>printf</code> and <code>sprintf</code> could produce the fatal error <code>panic: utf8_mg_pos_cache_update</code> when printing UTF-8 strings [RT #62666].</p>

</li>
<li><p>In the 5.10.0 release, a dynamically created <code>AUTOLOAD</code> method might be missed (method cache issue) [RT #60220,60232].</p>

</li>
<li><p>In the 5.10.0 release, a combination of <code>use feature</code> and <code>//ee</code> could cause a memory leak [RT #63110].</p>

</li>
<li><p><code>-C</code> on the shebang (<code>#!</code>) line is once more permitted if it is also specified on the command line. <code>-C</code> on the shebang line used to be a silent no-op <i>if</i> it was not also on the command line, so perl 5.10.0 disallowed it, which broke some scripts. Now perl checks whether it is also on the command line and only dies if it is not [RT #67880].</p>

</li>
<li><p>In 5.10.0, certain types of re-entrant regular expression could crash, or cause the following assertion failure [RT #60508]:</p>

<pre><code>Assertion rx-&gt;sublen &gt;= (s - rx-&gt;subbeg) + i failed</code></pre>

</li>
<li><p>Perl now includes previously missing files from the Unicode Character Database.</p>

</li>
<li><p>Perl now honors <code>TMPDIR</code> when opening an anonymous temporary file.</p>

</li>
</ul>

<h1 id="Platform-Specific-Changes"><a class="permalink" href="perl5120delta.html#Platform-Specific-Changes">#</a><a id="Platform"></a>Platform Specific Changes</h1>

<p>Perl is incredibly portable. In general, if a platform has a C compiler, someone has ported Perl to it (or will soon). We&#39;re happy to announce that Perl 5.12 includes support for several new platforms. At the same time, it&#39;s time to bid farewell to some (very) old friends.</p>

<h2 id="New-Platforms"><a class="permalink" href="perl5120delta.html#New-Platforms">#</a><a id="New7"></a>New Platforms</h2>

<dl>

<dt id="Haiku"><a class="permalink" href="perl5120delta.html#Haiku">#</a>Haiku</dt>
<dd>

<p>Perl&#39;s developers have merged patches from Haiku&#39;s maintainers. Perl should now build on Haiku.</p>

</dd>
<dt id="MirOS-BSD"><a class="permalink" href="perl5120delta.html#MirOS-BSD">#</a><a id="MirOS"></a>MirOS BSD</dt>
<dd>

<p>Perl should now build on MirOS BSD.</p>

</dd>
</dl>

<h2 id="Discontinued-Platforms"><a class="permalink" href="perl5120delta.html#Discontinued-Platforms">#</a><a id="Discontinued"></a>Discontinued Platforms</h2>

<dl>

<dt id="Domain/OS"><a class="permalink" href="perl5120delta.html#Domain/OS">#</a><a id="Domain"></a><a id="Domain-OS"></a>Domain/OS</dt>
<dd>

</dd>
<dt id="MiNT"><a class="permalink" href="perl5120delta.html#MiNT">#</a>MiNT</dt>
<dd>

</dd>
<dt id="Tenon-MachTen"><a class="permalink" href="perl5120delta.html#Tenon-MachTen">#</a><a id="Tenon"></a>Tenon MachTen</dt>
<dd>

</dd>
</dl>

<h2 id="Updated-Platforms"><a class="permalink" href="perl5120delta.html#Updated-Platforms">#</a><a id="Updated2"></a>Updated Platforms</h2>

<dl>

<dt id="AIX"><a class="permalink" href="perl5120delta.html#AIX">#</a>AIX</dt>
<dd>

<ul>

<li><p>Removed <i>libbsd</i> for AIX 5L and 6.1. Only <code>flock()</code> was used from <i>libbsd</i>.</p>

</li>
<li><p>Removed <i>libgdbm</i> for AIX 5L and 6.1 if <i>libgdbm</i> &lt; 1.8.3-5 is installed. The <i>libgdbm</i> is delivered as an optional package with the AIX Toolbox. Unfortunately the versions below 1.8.3-5 are broken.</p>

</li>
<li><p>Hints changes mean that AIX 4.2 should work again.</p>

</li>
</ul>

</dd>
<dt id="Cygwin"><a class="permalink" href="perl5120delta.html#Cygwin">#</a>Cygwin</dt>
<dd>

<ul>

<li><p>Perl now supports IPv6 on Cygwin 1.7 and newer.</p>

</li>
<li><p>On Cygwin we now strip the last number from the DLL. This has been the behaviour in the cygwin.com build for years. The hints files have been updated.</p>

</li>
</ul>

</dd>
<dt id="Darwin-(Mac-OS-X)"><a class="permalink" href="perl5120delta.html#Darwin-(Mac-OS-X)">#</a><a id="Darwin"></a><a id="Darwin-Mac-OS-X"></a>Darwin (Mac OS X)</dt>
<dd>

<ul>

<li><p>Skip testing the be_BY.CP1131 locale on Darwin 10 (Mac OS X 10.6), as it&#39;s still buggy.</p>

</li>
<li><p>Correct infelicities in the regexp used to identify buggy locales on Darwin 8 and 9 (Mac OS X 10.4 and 10.5, respectively).</p>

</li>
</ul>

</dd>
<dt id="DragonFly-BSD"><a class="permalink" href="perl5120delta.html#DragonFly-BSD">#</a><a id="DragonFly"></a>DragonFly BSD</dt>
<dd>

<ul>

<li><p>Fix thread library selection [perl #69686]</p>

</li>
</ul>

</dd>
<dt id="FreeBSD"><a class="permalink" href="perl5120delta.html#FreeBSD">#</a>FreeBSD</dt>
<dd>

<ul>

<li><p>The hints files now identify the correct threading libraries on FreeBSD 7 and later.</p>

</li>
</ul>

</dd>
<dt id="Irix"><a class="permalink" href="perl5120delta.html#Irix">#</a>Irix</dt>
<dd>

<ul>

<li><p>We now work around a bizarre preprocessor bug in the Irix 6.5 compiler: <code>cc -E -</code> unfortunately goes into K&amp;R mode, but <code>cc -E file.c</code> doesn&#39;t.</p>

</li>
</ul>

</dd>
<dt id="NetBSD"><a class="permalink" href="perl5120delta.html#NetBSD">#</a>NetBSD</dt>
<dd>

<ul>

<li><p>Hints now supports versions 5.*.</p>

</li>
</ul>

</dd>
<dt id="OpenVMS"><a class="permalink" href="perl5120delta.html#OpenVMS">#</a>OpenVMS</dt>
<dd>

<ul>

<li><p><code>-UDEBUGGING</code> is now the default on VMS.</p>

<p>Like it has been everywhere else for ages and ages. Also make command-line selection of -UDEBUGGING and -DDEBUGGING work in configure.com; before the only way to turn it off was by saying no in answer to the interactive question.</p>

</li>
<li><p>The default pipe buffer size on VMS has been updated to 8192 on 64-bit systems.</p>

</li>
<li><p>Reads from the in-memory temporary files of <code>PerlIO::scalar</code> used to fail if <code>$/</code> was set to a numeric reference (to indicate record-style reads). This is now fixed.</p>

</li>
<li><p>VMS now supports <code>getgrgid</code>.</p>

</li>
<li><p>Many improvements and cleanups have been made to the VMS file name handling and conversion code.</p>

</li>
<li><p>Enabling the <code>PERL_VMS_POSIX_EXIT</code> logical name now encodes a POSIX exit status in a VMS condition value for better interaction with GNV&#39;s bash shell and other utilities that depend on POSIX exit values. See <a href="perlvms.html#%24%3F">&quot;$?&quot; in perlvms</a> for details.</p>

</li>
<li><p><code>File::Copy</code> now detects Unix compatibility mode on VMS.</p>

</li>
</ul>

</dd>
<dt id="Stratus-VOS"><a class="permalink" href="perl5120delta.html#Stratus-VOS">#</a><a id="Stratus"></a>Stratus VOS</dt>
<dd>

<ul>

<li><p>Various changes from Stratus have been merged in.</p>

</li>
</ul>

</dd>
<dt id="Symbian"><a class="permalink" href="perl5120delta.html#Symbian">#</a>Symbian</dt>
<dd>

<ul>

<li><p>There is now support for Symbian S60 3.2 SDK and S60 5.0 SDK.</p>

</li>
</ul>

</dd>
<dt id="Windows"><a class="permalink" href="perl5120delta.html#Windows">#</a>Windows</dt>
<dd>

<ul>

<li><p>Perl 5.12 supports Windows 2000 and later. The supporting code for legacy versions of Windows is still included, but will be removed during the next development cycle.</p>

</li>
<li><p>Initial support for building Perl with MinGW-w64 is now available.</p>

</li>
<li><p><i>perl.exe</i> now includes a manifest resource to specify the <code>trustInfo</code> settings for Windows Vista and later. Without this setting Windows would treat <i>perl.exe</i> as a legacy application and apply various heuristics like redirecting access to protected file system areas (like the &quot;Program Files&quot; folder) to the users &quot;VirtualStore&quot; instead of generating a proper &quot;permission denied&quot; error.</p>

<p>The manifest resource also requests the Microsoft Common-Controls version 6.0 (themed controls introduced in Windows XP). Check out the Win32::VisualStyles module on CPAN to switch back to old style unthemed controls for legacy applications.</p>

</li>
<li><p>The <code>-t</code> filetest operator now only returns true if the filehandle is connected to a console window. In previous versions of Perl it would return true for all character mode devices, including <i>NUL</i> and <i>LPT1</i>.</p>

</li>
<li><p>The <code>-p</code> filetest operator now works correctly, and the Fcntl::S_IFIFO constant is defined when Perl is compiled with Microsoft Visual C. In previous Perl versions <code>-p</code> always returned a false value, and the Fcntl::S_IFIFO constant was not defined.</p>

<p>This bug is specific to Microsoft Visual C and never affected Perl binaries built with MinGW.</p>

</li>
<li><p>The socket error codes are now more widely supported: The POSIX module will define the symbolic names, like POSIX::EWOULDBLOCK, and stringification of socket error codes in $! works as well now;</p>

<pre><code class="plaintext">C:\&gt;perl -MPOSIX -E &quot;$!=POSIX::EWOULDBLOCK; say $!&quot;
A non-blocking socket operation could not be completed immediately.</code></pre>

</li>
<li><p>flock() will now set sensible error codes in $!. Previous Perl versions copied the value of $^E into $!, which caused much confusion.</p>

</li>
<li><p>select() now supports all empty <code>fd_set</code>s more correctly.</p>

</li>
<li><p><code>&#39;.\foo&#39;</code> and <code>&#39;..\foo&#39;</code> were treated differently than <code>&#39;./foo&#39;</code> and <code>&#39;../foo&#39;</code> by <code>do</code> and <code>require</code> [RT #63492].</p>

</li>
<li><p>Improved message window handling means that <code>alarm</code> and <code>kill</code> messages will no longer be dropped under race conditions.</p>

</li>
<li><p>Various bits of Perl&#39;s build infrastructure are no longer converted to win32 line endings at release time. If this hurts you, please report the problem with the <a href="perlbug.html">perlbug</a> program included with perl.</p>

</li>
</ul>

</dd>
</dl>

<h1 id="Known-Problems"><a class="permalink" href="perl5120delta.html#Known-Problems">#</a><a id="Known"></a>Known Problems</h1>

<p>This is a list of some significant unfixed bugs, which are regressions from either 5.10.x or 5.8.x.</p>

<ul>

<li><p>Some CPANPLUS tests may fail if there is a functioning file <i>../../cpanp-run-perl</i> outside your build directory. The failure shouldn&#39;t imply there&#39;s a problem with the actual functional software. The bug is already fixed in [RT #74188] and is scheduled for inclusion in perl-v5.12.1.</p>

</li>
<li><p><code>List::Util::first</code> misbehaves in the presence of a lexical <code>$_</code> (typically introduced by <code>my $_</code> or implicitly by <code>given</code>). The variable which gets set for each iteration is the package variable <code>$_</code>, not the lexical <code>$_</code> [RT #67694].</p>

<p>A similar issue may occur in other modules that provide functions which take a block as their first argument, like</p>

<pre><code>foo { ... $_ ...} list</code></pre>

</li>
<li><p>Some regexes may run much more slowly when run in a child thread compared with the thread the pattern was compiled into [RT #55600].</p>

</li>
<li><p>Things like <code>&quot;\N{LATIN SMALL LIGATURE FF}&quot; =~ /\N{LATIN SMALL LETTER F}+/</code> will appear to hang as they get into a very long running loop [RT #72998].</p>

</li>
<li><p>Several porters have reported mysterious crashes when Perl&#39;s entire test suite is run after a build on certain Windows 2000 systems. When run by hand, the individual tests reportedly work fine.</p>

</li>
</ul>

<h1 id="Errata"><a class="permalink" href="perl5120delta.html#Errata">#</a>Errata</h1>

<ul>

<li><p>This one is actually a change introduced in 5.10.0, but it was missed from that release&#39;s perldelta, so it is mentioned here instead.</p>

<p>A bugfix related to the handling of the <code>/m</code> modifier and <code>qr</code> resulted in a change of behaviour between 5.8.x and 5.10.0:</p>

<pre><code># matches in 5.8.x, doesn&#39;t match in 5.10.0
$re = qr/^bar/; &quot;foo\nbar&quot; =~ /$re/m;</code></pre>

</li>
</ul>

<h1 id="Acknowledgements"><a class="permalink" href="perl5120delta.html#Acknowledgements">#</a>Acknowledgements</h1>

<p>Perl 5.12.0 represents approximately two years of development since Perl 5.10.0 and contains over 750,000 lines of changes across over 3,000 files from over 200 authors and committers.</p>

<p>Perl continues to flourish into its third decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.12.0:</p>

<p>Aaron Crane, Abe Timmerman, Abhijit Menon-Sen, Abigail, Adam Russell, Adriano Ferreira, Ævar Arnfjörð Bjarmason, Alan Grover, Alexandr Ciornii, Alex Davies, Alex Vandiver, Andreas Koenig, Andrew Rodland, andrew@sundale.net, Andy Armstrong, Andy Dougherty, Jose AUGUSTE-ETIENNE, Benjamin Smith, Ben Morrow, bharanee rathna, Bo Borgerson, Bo Lindbergh, Brad Gilbert, Bram, Brendan O&#39;Dea, brian d foy, Charles Bailey, Chip Salzenberg, Chris &#39;BinGOs&#39; Williams, Christoph Lamprecht, Chris Williams, chromatic, Claes Jakobsson, Craig A. Berry, Dan Dascalescu, Daniel Frederick Crisman, Daniel M. Quinlan, Dan Jacobson, Dan Kogai, Dave Mitchell, Dave Rolsky, David Cantrell, David Dick, David Golden, David Mitchell, David M. Syzdek, David Nicol, David Wheeler, Dennis Kaarsemaker, Dintelmann, Peter, Dominic Dunlop, Dr.Ruud, Duke Leto, Enrico Sorcinelli, Eric Brine, Father Chrysostomos, Florian Ragwitz, Frank Wiegand, Gabor Szabo, Gene Sullivan, Geoffrey T. Dairiki, George Greer, Gerard Goossen, Gisle Aas, Goro Fuji, Graham Barr, Green, Paul, Hans Dieter Pearcey, Harmen, H. Merijn Brand, Hugo van der Sanden, Ian Goodacre, Igor Sutton, Ingo Weinhold, James Bence, James Mastros, Jan Dubois, Jari Aalto, Jarkko Hietaniemi, Jay Hannah, Jerry Hedden, Jesse Vincent, Jim Cromie, Jody Belka, John E. Malmberg, John Malmberg, John Peacock, John Peacock via RT, John P. Linderman, John Wright, Josh ben Jore, Jos I. Boumans, Karl Williamson, Kenichi Ishigaki, Ken Williams, Kevin Brintnall, Kevin Ryde, Kurt Starsinic, Leon Brocard, Lubomir Rintel, Luke Ross, Marcel Grünauer, Marcus Holland-Moritz, Mark Jason Dominus, Marko Asplund, Martin Hasch, Mashrab Kuvatov, Matt Kraai, Matt S Trout, Max Maischein, Michael Breen, Michael Cartmell, Michael G Schwern, Michael Witten, Mike Giroux, Milosz Tanski, Moritz Lenz, Nicholas Clark, Nick Cleaton, Niko Tyni, Offer Kaye, Osvaldo Villalon, Paul Fenwick, Paul Gaborit, Paul Green, Paul Johnson, Paul Marquess, Philip Hazel, Philippe Bruhat, Rafael Garcia-Suarez, Rainer Tammer, Rajesh Mandalemula, Reini Urban, Renée Bäcker, Ricardo Signes, Ricardo SIGNES, Richard Foley, Rich Rauenzahn, Rick Delaney, Risto Kankkunen, Robert May, Roberto C. Sanchez, Robin Barker, SADAHIRO Tomoyuki, Salvador Ortiz Garcia, Sam Vilain, Scott Lanning, Sébastien Aperghis-Tramoni, Sérgio Durigan Júnior, Shlomi Fish, Simon &#39;corecode&#39; Schubert, Sisyphus, Slaven Rezic, Smylers, Steffen Müller, Steffen Ullrich, Stepan Kasal, Steve Hay, Steven Schubiger, Steve Peters, Tels, The Doctor, Tim Bunce, Tim Jenness, Todd Rinaldo, Tom Christiansen, Tom Hukins, Tom Wyant, Tony Cook, Torsten Schoenfeld, Tye McQueen, Vadim Konovalov, Vincent Pit, Hio YAMASHINA, Yasuhiro Matsumoto, Yitzchak Scott-Thoennes, Yuval Kogman, Yves Orton, Zefram, Zsban Ambrus</p>

<p>This is woefully incomplete as it&#39;s automatically generated from version control history. In particular, it doesn&#39;t include the names of the (very much appreciated) contributors who reported issues in previous versions of Perl that helped make Perl 5.12.0 better. For a more complete list of all of Perl&#39;s historical contributors, please see the <code>AUTHORS</code> file in the Perl 5.12.0 distribution.</p>

<p>Our &quot;retired&quot; pumpkings Nicholas Clark and Rafael Garcia-Suarez deserve special thanks for their brilliant and substantive ongoing contributions. Nicholas personally authored over 30% of the patches since 5.10.0. Rafael comes in second in patch authorship with 11%, but is first by a long shot in committing patches authored by others, pushing 44% of the commits since 5.10.0 in this category, often after providing considerable coaching to the patch authors. These statistics in no way comprise all of their contributions, but express in shorthand that we couldn&#39;t have done it without them.</p>

<p>Many of the changes included in this version originated in the CPAN modules included in Perl&#39;s core. We&#39;re grateful to the entire CPAN community for helping Perl to flourish.</p>

<h1 id="Reporting-Bugs"><a class="permalink" href="perl5120delta.html#Reporting-Bugs">#</a><a id="Reporting"></a>Reporting Bugs</h1>

<p>If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the perl bug database at <a href="http://rt.perl.org/perlbug/">http://rt.perl.org/perlbug/</a>. There may also be information at <a href="http://www.perl.org/">http://www.perl.org/</a>, the Perl Home Page.</p>

<p>If you believe you have an unreported bug, please run the <b>perlbug</b> program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of <code>perl -V</code>, will be sent off to perlbug@perl.org to be analyzed by the Perl porting team.</p>

<p>If the bug you are reporting has security implications, which make it inappropriate to send to a publicly archived mailing list, then please send it to perl5-security-report@perl.org. This points to a closed subscription unarchived mailing list, which includes all the core committers, who will be able to help assess the impact of issues, figure out a resolution, and help co-ordinate the release of patches to mitigate or fix the problem across all platforms on which Perl is supported. Please only use this address for security issues in the Perl core, not for modules independently distributed on CPAN.</p>

<h1 id="SEE-ALSO"><a class="permalink" href="perl5120delta.html#SEE-ALSO">#</a><a id="SEE"></a>SEE ALSO</h1>

<p>The <i>Changes</i> file for an explanation of how to view exhaustive details on what changed.</p>

<p>The <i>INSTALL</i> file for how to build Perl.</p>

<p>The <i>README</i> file for general stuff.</p>

<p>The <i>Artistic</i> and <i>Copying</i> files for copyright information.</p>

<p><a href="http://dev.perl.org/perl5/errata.html">http://dev.perl.org/perl5/errata.html</a> for a list of issues found after this release, as well as a list of CPAN modules known to be incompatible with this release.</p>


      </div>
      <div id="footer">
        <p>Perldoc Browser is maintained by Dan Book (<a href="https://metacpan.org/author/DBOOK">DBOOK</a>). Please contact him via the <a href="https://github.com/Grinnz/perldoc-browser/issues">GitHub issue tracker</a> or <a href="mailto:dbook@cpan.org">email</a> regarding any issues with the site itself, search, or rendering of documentation.</p>

<p>The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via the <a href="https://github.com/Perl/perl5/issues">Perl issue tracker</a>, the <a href="https://lists.perl.org/list/perl5-porters.html">mailing list</a>, or <a href="https://kiwiirc.com/client/irc.perl.org/p5p">IRC</a> to report any issues with the contents or format of the documentation.</p>


      </div>
    </div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js" integrity="sha512-/DXTXr6nQodMUiq+IUJYCt2PPOUjrHJ9wFrqpJ3XkgPNOZVfMok7cRw6CSxyCQxXn6ozlESsSh1/sMCTF1rL/g==" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js" integrity="sha512-ubuT8Z88WxezgSqf3RLuNi5lmjstiJcyezx34yIU2gAHonIi27Na7atqzUZCOoY4CExaoFumzOsFQ2Ch+I/HCw==" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
    <script src="../highlight.pack.js"></script>
    <script>hljs.highlightAll();</script>
  </body>
</html>
